summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig
diff options
context:
space:
mode:
Diffstat (limited to 'python/vyos/ifconfig')
-rw-r--r--python/vyos/ifconfig/bridge.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/bridge.py b/python/vyos/ifconfig/bridge.py
index a565d37a6..1bd617a05 100644
--- a/python/vyos/ifconfig/bridge.py
+++ b/python/vyos/ifconfig/bridge.py
@@ -295,7 +295,7 @@ class BridgeIf(Interface):
self._cmd(cmd)
for vlan in add_vlan:
- cmd = f'bridge vlan add dev {ifname} vid {vif} self'
+ cmd = f'bridge vlan add dev {ifname} vid {vlan} self'
self._cmd(cmd)
# VLAN of bridge parent interface is always 1