summaryrefslogtreecommitdiffhomepage
path: root/vlan.c
diff options
context:
space:
mode:
Diffstat (limited to 'vlan.c')
-rw-r--r--vlan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vlan.c b/vlan.c
index 88604d3..208ff73 100644
--- a/vlan.c
+++ b/vlan.c
@@ -129,7 +129,7 @@ struct device *get_vlan_device_chain(const char *ifname, bool create)
return NULL;
s = split_vlan(buf);
- iface = get_device(buf, create);
+ iface = device_get(buf, create);
if (!iface && !create)
goto error;