From 27e257addaec81f574d19f2b0d8cfba187150e88 Mon Sep 17 00:00:00 2001 From: jack9603301 Date: Sun, 17 Jan 2021 00:25:07 +0800 Subject: bridge: T3137: Fix variable errors in VLAN sensor bridge configuration program --- python/vyos/ifconfig/bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/vyos/ifconfig') 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 -- cgit v1.2.3