]> git.proxmox.com Git - mirror_ifupdown2.git/commitdiff
addons: bridge: don't disable ipv6 on vlan-aware vxlan-bridge
authorJulien Fortin <julien@cumulusnetworks.com>
Fri, 15 Mar 2019 16:25:26 +0000 (00:25 +0800)
committerJulien Fortin <julien@cumulusnetworks.com>
Mon, 22 Apr 2019 02:55:28 +0000 (10:55 +0800)
ipv6 shouldn't be disabled on a bridge vlan aware

Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
ifupdown2/addons/bridge.py

index ad6b7634224f94a41f101f4876972a36ec70bbc7..901424feba7b5d3835e370c756a6939954098000 100644 (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)