diff options
author | Tom Gundersen <teg@jklm.no> | 2014-05-15 15:48:37 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-05-15 18:15:21 +0200 |
commit | af4e9e2c563047d524b207e0e3d6816385693a16 (patch) | |
tree | 091392995240d050ae888c8dcba4c1899b6ed7e9 /src/network/networkd-tunnel.c | |
parent | 7e28adeb63818ee96dac015c0766be461e13fb64 (diff) |
networkd: rename NetDev variable for consistency with Link
Diffstat (limited to 'src/network/networkd-tunnel.c')
-rw-r--r-- | src/network/networkd-tunnel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/networkd-tunnel.c b/src/network/networkd-tunnel.c index 0ecb1c971e..5ea28781b3 100644 --- a/src/network/networkd-tunnel.c +++ b/src/network/networkd-tunnel.c @@ -43,7 +43,7 @@ static int netdev_fill_ipip_rtnl_message(Link *link, sd_rtnl_message *m) { netdev = link->network->tunnel; - r = sd_rtnl_message_append_string(m, IFLA_IFNAME, netdev->name); + r = sd_rtnl_message_append_string(m, IFLA_IFNAME, netdev->ifname); if (r < 0) { log_error_netdev(netdev, "Could not append IFLA_IFNAME, attribute: %s", @@ -141,7 +141,7 @@ int netdev_create_tunnel(Link *link, sd_rtnl_message_handler_t callback) { netdev = link->network->tunnel; assert(netdev); - assert(netdev->name); + assert(netdev->ifname); assert(netdev->manager); assert(netdev->manager->rtnl); assert(netdev->manager->kmod_ctx); |