projects
/
project
/
libnl-tiny.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netlink: add NLA_F_NESTED to all nested attributes
[project/libnl-tiny.git]
/
include
/
netlink
/
attr.h
diff --git
a/include/netlink/attr.h
b/include/netlink/attr.h
index bcfbf07fa8091140fd12d9347e6100f2525678cc..3e3047ff696a3d5312579513e537d4517ef429c0 100644
(file)
--- a/
include/netlink/attr.h
+++ b/
include/netlink/attr.h
@@
-495,7
+495,7
@@
static inline 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, attrtype
| NLA_F_NESTED
, 0, NULL) < 0)
return NULL;
return start;