mirror of
https://github.com/openwrt/routing.git
synced 2026-04-15 19:02:12 +00:00
Apply ap_isolation default value '0' if option ap_isolation is not present in the batadv_vlan interface configuration. Default value '0' should be applied for the use case where "option ap_isolation '1'" was present, is removed, and 'service network reload' is executed. This is required for proper LuCI integration, because if an option is set to the default value, LuCI removes the option. Also take into account $INCLUDE_ONLY as in other /lib/netifd/proto scripts and as recommended in the guide at: https://openwrt.org/docs/guide-developer/network-scripting Signed-off-by: Bastiaan Stougie <wififreedom2026@protonmail.com>