mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
addons: bridge: bridge_vlan_aware_list is now a set()
in the case of ifreload bridge.py:get_dependent is entered twice, once for the old ifaceobjs and once for the new ones. Thus adding bridges twice to the list. Having a set will prevent this issue. Signed-off-by: Julien Fortin <jfortin@nvidia.com>
This commit is contained in:
@@ -93,7 +93,7 @@ class Addon(Netlink, Cache):
|
||||
|
||||
class Bridge(Addon):
|
||||
|
||||
bridge_vlan_aware_list = []
|
||||
bridge_vlan_aware_list = set()
|
||||
|
||||
def __init__(self):
|
||||
super(Bridge, self).__init__()
|
||||
|
Reference in New Issue
Block a user