summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-16 17:37:49 +0100
committerGitHub <noreply@github.com>2021-01-16 17:37:49 +0100
commit630800af3f9498c766f264927b57fcc606a6169a (patch)
tree88cf8bd5bb56927e42aa525d6e298fcef89f6fc8 /python
parent35b049aa8b90ee41f9c59bf4b2e3610d03505776 (diff)
parent27e257addaec81f574d19f2b0d8cfba187150e88 (diff)
downloadvyos-1x-630800af3f9498c766f264927b57fcc606a6169a.tar.gz
vyos-1x-630800af3f9498c766f264927b57fcc606a6169a.zip
Merge pull request #687 from jack9603301/T3137
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