openwrt / netifd

[MIRROR] OpenWrt Network interface configuration daemon
https://git.openwrt.org/?p=project/netifd.git;
20 stars 25 forks source link

Restore disable_ipv6 sysctl after removing a device from bridge or bond #40

Open fblaese opened 2 weeks ago

fblaese commented 2 weeks ago

If a device is added to a bond or bridge, the disable_ipv6 sysctl is set, so that no link local addresses are present on the slave devices.

However, the disable_ipv6 sysctl is not restored after removing the device from the bridge or bond. Therefore, no IPv6 link local addresses are added and autoconfiguration does not work.

Set the disable_ipv6 to '0' on device removal from bridge or bond.