diff options
Diffstat (limited to 'vlan.c')
-rw-r--r-- | vlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -145,7 +145,7 @@ struct device *get_vlan_device_chain(const char *ifname, bool create) s = split_vlan(buf); dev = device_get(buf, create); - if (!dev && !create) + if (!dev) goto error; do { |