1
0
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:
Alexandre Derumier
2024-02-22 13:11:02 +01:00
parent 08f8a21577
commit a5b3820cec

View File

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