summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev.c
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@ubuntu.com>2016-09-15 12:20:09 +0200
committerGitHub <noreply@github.com>2016-09-15 12:20:09 +0200
commitbfa91d65bbb6c0b39facb9f8a72e497b1b938340 (patch)
treeca1dd229b504bc1342cdceb8b613b7aea5f8232b /src/network/networkd-netdev.c
parentd903a89246f40b6527e2358498657a9a3c625237 (diff)
parenta4820c463acd3777268bf6eb25284f7dab898187 (diff)
Merge pull request #4150 from ssahani/net1
networkd: trivial fixes
Diffstat (limited to 'src/network/networkd-netdev.c')
-rw-r--r--src/network/networkd-netdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c
index 583389c8dd..897de9bde5 100644
--- a/src/network/networkd-netdev.c
+++ b/src/network/networkd-netdev.c
@@ -34,7 +34,6 @@
#include "string-util.h"
const NetDevVTable * const netdev_vtable[_NETDEV_KIND_MAX] = {
-
[NETDEV_KIND_BRIDGE] = &bridge_vtable,
[NETDEV_KIND_BOND] = &bond_vtable,
[NETDEV_KIND_VLAN] = &vlan_vtable,
@@ -516,7 +515,7 @@ static int netdev_create(NetDev *netdev, Link *link,
r = sd_netlink_message_close_container(m);
if (r < 0)
- return log_netdev_error_errno(netdev, r, "Could not append IFLA_LINKINFO attribute: %m");
+ return log_netdev_error_errno(netdev, r, "Could not append IFLA_INFO_DATA attribute: %m");
r = sd_netlink_message_close_container(m);
if (r < 0)