diff options
author | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-03-12 19:33:14 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-03-12 19:33:14 +0000 |
commit | baadd5d0b8d35ff663b0fc80a47acc73b4519bae (patch) | |
tree | 2c195d9d768a7df1a7dd932b60ded5e6a9b491a1 | |
parent | 61c73610dbf7d3e81e4fd3b08f72c3f3a669276a (diff) | |
parent | b820c6ba8711e9bc583e77cf609ead3b06966b85 (diff) | |
download | libnl-baadd5d0b8d35ff663b0fc80a47acc73b4519bae.tar.gz |
attr: mark nested attributes as NLA_F_NESTED am: 8bdf14986a am: ad73771fdf am: 7b622df2f5 am: b820c6ba87
Change-Id: I4f33813b79e789ccea3beb04685e2e3c923f23ac
-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", |