summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorjack9603301 <jack9603301@163.com>2021-01-17 00:25:07 +0800
committerjack9603301 <jack9603301@163.com>2021-01-17 00:36:56 +0800
commit27e257addaec81f574d19f2b0d8cfba187150e88 (patch)
tree88cf8bd5bb56927e42aa525d6e298fcef89f6fc8 /python
parent35b049aa8b90ee41f9c59bf4b2e3610d03505776 (diff)
downloadvyos-1x-27e257addaec81f574d19f2b0d8cfba187150e88.tar.gz
vyos-1x-27e257addaec81f574d19f2b0d8cfba187150e88.zip
bridge: T3137: Fix variable errors in VLAN sensor bridge configuration program
Diffstat (limited to 'python')
-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