summaryrefslogtreecommitdiff
path: root/python/vyos
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos')
-rw-r--r--python/vyos/ifconfig/interface.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/python/vyos/ifconfig/interface.py b/python/vyos/ifconfig/interface.py
index eda3fadd6..e11c04209 100644
--- a/python/vyos/ifconfig/interface.py
+++ b/python/vyos/ifconfig/interface.py
@@ -950,10 +950,6 @@ class Interface(Control):
if int(vlan_id) not in vlan_bridge_ids:
cmd = f'bridge vlan add dev {bridge} vid {vlan_id} self'
self._cmd(cmd)
- else:
- if vlan not in vlan_bridge_ids:
- cmd = f'bridge vlan add dev {bridge} vid {vlan} self'
- self._cmd(cmd)
# enable/disable Vlan Filter
Section.klass(bridge)(bridge, create=True).set_vlan_filter(vlan_filter)