summaryrefslogtreecommitdiff
path: root/src/network/networkd-network.c
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-05-15 15:48:37 +0200
committerTom Gundersen <teg@jklm.no>2014-05-15 18:15:21 +0200
commitaf4e9e2c563047d524b207e0e3d6816385693a16 (patch)
tree091392995240d050ae888c8dcba4c1899b6ed7e9 /src/network/networkd-network.c
parent7e28adeb63818ee96dac015c0766be461e13fb64 (diff)
networkd: rename NetDev variable for consistency with Link
Diffstat (limited to 'src/network/networkd-network.c')
-rw-r--r--src/network/networkd-network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-network.c b/src/network/networkd-network.c
index d6b06e8a97..91b1e3c7bd 100644
--- a/src/network/networkd-network.c
+++ b/src/network/networkd-network.c
@@ -315,7 +315,7 @@ int config_parse_netdev(const char *unit,
break;
case NETDEV_KIND_MACVLAN:
- r = hashmap_put(network->macvlans, netdev->name, netdev);
+ r = hashmap_put(network->macvlans, netdev->ifname, netdev);
if (r < 0) {
log_syntax(unit, LOG_ERR, filename, line, EINVAL,
"Can not add MACVLAN to network: %s", rvalue);