summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--python/vyos/ifconfig_vlan.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig_vlan.py b/python/vyos/ifconfig_vlan.py
index 53a77c651..442cb0db8 100644
--- a/python/vyos/ifconfig_vlan.py
+++ b/python/vyos/ifconfig_vlan.py
@@ -34,7 +34,7 @@ def apply_all_vlans(intf, intfconfig):
# remove no longer required client VLAN interfaces (vif-c)
# on lower service VLAN interface
- for vif_c in intfconfig['vif_c_remove']:
+ for vif_c in vif_s['vif_c_remove']:
s_vlan.del_vlan(vif_c)
# create client VLAN interfaces (vif-c)