diff options
author | Steve McIntyre <steve.mcintyre@linaro.org> | 2015-09-03 18:16:09 +0100 |
---|---|---|
committer | Steve McIntyre <steve.mcintyre@linaro.org> | 2015-09-03 18:16:09 +0100 |
commit | ee742d9d8a7d9b963d4d0eb1b721993d2a26a38c (patch) | |
tree | a0278ddf827b6e306424d0bb2fd62b5bd0345ffe /util.py | |
parent | 36ae6ac2bf0006a9522b4820ac12cde87f9a27f7 (diff) |
Compare the default_vlan_tag to vlan.tag
Previous fix was buggy and rushed.
Change-Id: Ied61a46973135908e26ce8324c06a51fa64dcfa9
Diffstat (limited to 'util.py')
-rw-r--r-- | util.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -505,7 +505,7 @@ class VlanUtil: else: vlans = db.all_vlans() for vlan in vlans: - if vlan != state.config.vland.default_vlan_tag: + if vlan.tag != state.config.vland.default_vlan_tag: s.port_add_trunk_to_vlan(port.name, vlan.tag) except IOError: |