diff --git a/src/platform/nm-netlink.c b/src/platform/nm-netlink.c index 4cb19780b0..cd71beb568 100644 --- a/src/platform/nm-netlink.c +++ b/src/platform/nm-netlink.c @@ -515,7 +515,7 @@ 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; return start;