aboutsummaryrefslogtreecommitdiff
path: root/util.py
diff options
context:
space:
mode:
authorSteve McIntyre <steve.mcintyre@linaro.org>2015-02-09 06:39:00 +0000
committerSteve McIntyre <steve.mcintyre@linaro.org>2015-02-09 06:39:00 +0000
commit64d95a0232c2310981c8c75a1910a58b56b10b44 (patch)
tree25a5edefe34147f3f1b7fa2f3eb6a487e3828949 /util.py
parent12161047f519353ddabf0aed953ec85f3c25b8cc (diff)
Bugfix: don't add a trunk port to a VLAN just before changing mode
Change-Id: I137a67cab9ffef7616af78e7c089398ddb94dbaa
Diffstat (limited to 'util.py')
-rw-r--r--util.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/util.py b/util.py
index 45f74fa..4cce8ea 100644
--- a/util.py
+++ b/util.py
@@ -467,7 +467,6 @@ class VlanUtil:
for vlan in vlans:
if vlan != state.config.vland.default_vlan_tag:
s.port_remove_trunk_from_vlan(port.name, vlan)
- s.port_add_trunk_to_vlan(port.name, base_vlan_tag)
s.port_set_mode(port.name, "access")
else: