diff options
author | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-03-12 19:15:30 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-03-12 19:15:30 +0000 |
commit | b820c6ba8711e9bc583e77cf609ead3b06966b85 (patch) | |
tree | 2c195d9d768a7df1a7dd932b60ded5e6a9b491a1 | |
parent | 6b348ce5fdc3c0ca01574ce89c9f02944d6fd420 (diff) | |
parent | 7b622df2f5106de4762f3f2687dbdf23521c335a (diff) | |
download | libnl-b820c6ba8711e9bc583e77cf609ead3b06966b85.tar.gz |
attr: mark nested attributes as NLA_F_NESTED am: 8bdf14986a am: ad73771fdf am: 7b622df2f5
Change-Id: Icdb540ff74e0088307da3b74da67b979f6f4544a
-rw-r--r-- | lib/attr.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -796,7 +796,7 @@ struct nlattr *nla_nest_start(struct nl_msg *msg, int attrtype) { 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", |