mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-12-23 17:34:00 +03:00
sd-netlink: mark union containers as nested
This was an oversight, they are no different from regular containers in this respect.
This commit is contained in:
parent
281d4a7710
commit
da041d69d1
@ -454,7 +454,7 @@ int sd_netlink_message_open_container_union(sd_netlink_message *m, unsigned shor
|
||||
return r;
|
||||
|
||||
/* do we evere need non-null size */
|
||||
r = add_rtattr(m, type, NULL, 0);
|
||||
r = add_rtattr(m, type | NLA_F_NESTED, NULL, 0);
|
||||
if (r < 0)
|
||||
return r;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user