1
0
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:
Julien Fortin
2019-03-16 00:25:26 +08:00
parent 3832dce663
commit 1b9d23e8a0

View File

@@ -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)