summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjack9603301 <jack9603301@163.com>2021-01-14 13:38:48 +0800
committerjack9603301 <jack9603301@163.com>2021-01-15 16:26:34 +0800
commitac86489e1fb3b25f7a7f728a34ad5568b3979877 (patch)
tree82c0c06d72260c127936c501446edf481830a3df
parent6ad6908327c62b97d046da5d83b5ffced2594ee5 (diff)
downloadvyos-1x-ac86489e1fb3b25f7a7f728a34ad5568b3979877.tar.gz
vyos-1x-ac86489e1fb3b25f7a7f728a34ad5568b3979877.zip
bridge: T3137: Delete blank lines
-rw-r--r--python/vyos/ifconfig/bridge.py1
-rw-r--r--python/vyos/ifconfig/interface.py1
2 files changed, 0 insertions, 2 deletions
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)