summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-vlan.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-06-12 16:31:33 +0200
committerTom Gundersen <teg@jklm.no>2015-06-13 19:52:54 +0200
commit1c4baffc1895809bae9ac36b670af90a4cb9cd7d (patch)
treea0ad5af06e5aa9cf8998cc20e97780cfe375bcb9 /src/network/networkd-netdev-vlan.c
parenteb59b6094197a7dcef89639ec3e91eef61b639bb (diff)
sd-netlink: rename from sd-rtnl
Diffstat (limited to 'src/network/networkd-netdev-vlan.c')
-rw-r--r--src/network/networkd-netdev-vlan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-netdev-vlan.c b/src/network/networkd-netdev-vlan.c
index 0ed024b41d..d53e7beaac 100644
--- a/src/network/networkd-netdev-vlan.c
+++ b/src/network/networkd-netdev-vlan.c
@@ -23,7 +23,7 @@
#include "networkd-netdev-vlan.h"
-static int netdev_vlan_fill_message_create(NetDev *netdev, Link *link, sd_rtnl_message *req) {
+static int netdev_vlan_fill_message_create(NetDev *netdev, Link *link, sd_netlink_message *req) {
VLan *v = VLAN(netdev);
int r;
@@ -33,7 +33,7 @@ static int netdev_vlan_fill_message_create(NetDev *netdev, Link *link, sd_rtnl_m
assert(req);
if (v->id <= VLANID_MAX) {
- r = sd_rtnl_message_append_u16(req, IFLA_VLAN_ID, v->id);
+ r = sd_netlink_message_append_u16(req, IFLA_VLAN_ID, v->id);
if (r < 0) {
log_netdev_error(netdev,
"Could not append IFLA_VLAN_ID attribute: %s",