diff options
author | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-03-12 18:45:56 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2020-03-12 18:45:56 +0000 |
commit | e0dd929ba7012f7f6bf1aba4155003d7c504582e (patch) | |
tree | 2c195d9d768a7df1a7dd932b60ded5e6a9b491a1 | |
parent | e50e0b1729db643b651b783cfa49288b2513cd3d (diff) | |
parent | 8bdf14986a1baee1d44724cc66bc24c55418ebf5 (diff) | |
download | libnl-e0dd929ba7012f7f6bf1aba4155003d7c504582e.tar.gz |
attr: mark nested attributes as NLA_F_NESTED am: 8bdf14986a
Change-Id: I40b31d1fc479d1457c92549296b3c99939b65c90
-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", |