commit | 5560a8f3a1a3dc27e3300b235a45d9a32c75700b | [log] [tgz] |
---|---|---|
author | Linux Build Service Account <lnxbuild@localhost> | Mon Apr 06 04:45:50 2020 -0700 |
committer | Linux Build Service Account <lnxbuild@localhost> | Mon Apr 06 04:45:50 2020 -0700 |
tree | 82b7b4803c95496ac081c3cd4c4504698f017564 | |
parent | 4cc0bbaa1b2e80f4fcbbd8560b718572ecb824f7 [diff] | |
parent | ee7b8ac3831d32ff9dfbdf25631d9f3d53699f71 [diff] |
Merge ee7b8ac3831d32ff9dfbdf25631d9f3d53699f71 on remote branch Change-Id: I89fd38968c33de213ab1962cd2de47829072c84d
diff --git a/lib/attr.c b/lib/attr.c index bdf3c0f..a76a284 100644 --- a/lib/attr.c +++ b/lib/attr.c
@@ -796,7 +796,7 @@ { struct nlattr *start = (struct nlattr *) nlmsg_tail(msg->nm_nlh); - if (nla_put(msg, attrtype, 0, NULL) < 0) + if (nla_put(msg, NLA_F_NESTED | attrtype, 0, NULL) < 0) return NULL; NL_DBG(2, "msg %p: attr <%p> %d: starting nesting\n",