From ac86489e1fb3b25f7a7f728a34ad5568b3979877 Mon Sep 17 00:00:00 2001 From: jack9603301 Date: Thu, 14 Jan 2021 13:38:48 +0800 Subject: bridge: T3137: Delete blank lines --- python/vyos/ifconfig/bridge.py | 1 - python/vyos/ifconfig/interface.py | 1 - 2 files changed, 2 deletions(-) (limited to 'python') diff --git a/python/vyos/ifconfig/bridge.py b/python/vyos/ifconfig/bridge.py index eed6df0e5..85b5335de 100644 --- a/python/vyos/ifconfig/bridge.py +++ b/python/vyos/ifconfig/bridge.py @@ -366,7 +366,6 @@ class BridgeIf(Interface): for vlan in allowed_vlan_ids: cmd = f'bridge vlan add dev {interface} vid {vlan} master' self._cmd(cmd) - # Setting native VLAN to system cmd = f'bridge vlan add dev {interface} vid {native_vlan_id} pvid untagged master' self._cmd(cmd) diff --git a/python/vyos/ifconfig/interface.py b/python/vyos/ifconfig/interface.py index 433d19dbf..f7578fe2d 100644 --- a/python/vyos/ifconfig/interface.py +++ b/python/vyos/ifconfig/interface.py @@ -936,7 +936,6 @@ class Interface(Control): for vlan in allowed_vlan_ids: cmd = f'bridge vlan add dev {ifname} vid {vlan} master' self._cmd(cmd) - # Setting native VLAN to system cmd = f'bridge vlan add dev {ifname} vid {native_vlan_id} pvid untagged master' self._cmd(cmd) -- cgit v1.2.3