mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
addons: bridge: don't disable ipv6 on vlan-aware vxlan-bridge
ipv6 shouldn't be disabled on a bridge vlan aware Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
This commit is contained in:
@@ -939,7 +939,7 @@ class bridge(moduleBase):
|
||||
def handle_ipv6(self, ports, state, ifaceobj=None):
|
||||
if (ifaceobj and
|
||||
(ifaceobj.link_privflags & ifaceLinkPrivFlags.BRIDGE_VXLAN) and
|
||||
not ifaceobj.get_attr_value('address')):
|
||||
not ifaceobj.get_attr_value('address') and not ifaceobj.link_privflags & ifaceLinkPrivFlags.BRIDGE_VLAN_AWARE):
|
||||
self._enable_disable_ipv6(ifaceobj.name, state)
|
||||
for p in ports:
|
||||
self._enable_disable_ipv6(p, state)
|
||||
|
||||
Reference in New Issue
Block a user