mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
address: allow ip|ip6-forward on bridge
Currently, a bridge always have forward enabled if an ip exist, or disabled if not ip is present. we can't use ip-forward on|off to override it because of this return.
This commit is contained in:
@@ -912,7 +912,7 @@ class address(AddonWithIpBlackList, moduleBase):
|
||||
|
||||
if (ifaceobj.link_kind & ifaceLinkKind.BRIDGE):
|
||||
self._set_bridge_forwarding(ifaceobj)
|
||||
return
|
||||
|
||||
if not self.syntax_check_sysctls(ifaceobj):
|
||||
return
|
||||
if not self.syntax_check_l3_svi_ip_forward(ifaceobj):
|
||||
|
Reference in New Issue
Block a user