summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-02-13 18:46:48 +0100
committerLennart Poettering <lennart@poettering.net>2014-02-13 18:47:53 +0100
commit31a4e15384b3819621dd5648e18148c2edea72d3 (patch)
tree95292aebaa4415d52fbcf54a16b0b418222f00d2 /src/network
parent5a1aece58142023d407afae797bb0ffb05b34732 (diff)
rtnl: support adding VETH_INFO_PEER containers into rtnl messages
Diffstat (limited to 'src/network')
-rw-r--r--src/network/networkd-netdev.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c
index 30eb77d4bc..a452e0d6d6 100644
--- a/src/network/networkd-netdev.c
+++ b/src/network/networkd-netdev.c
@@ -194,7 +194,7 @@ static int netdev_create(NetDev *netdev, Link *link, sd_rtnl_message_handler_t c
return r;
}
- r = sd_rtnl_message_open_container(req, IFLA_LINKINFO);
+ r = sd_rtnl_message_open_container(req, IFLA_LINKINFO, 0);
if (r < 0) {
log_error_netdev(netdev,
"Could not open IFLA_LINKINFO container: %s",
@@ -217,7 +217,7 @@ static int netdev_create(NetDev *netdev, Link *link, sd_rtnl_message_handler_t c
}
if (netdev->vlanid <= VLANID_MAX) {
- r = sd_rtnl_message_open_container(req, IFLA_INFO_DATA);
+ r = sd_rtnl_message_open_container(req, IFLA_INFO_DATA, 0);
if (r < 0) {
log_error_netdev(netdev,
"Could not open IFLA_INFO_DATA container: %s",