From: John Crispin Date: Wed, 11 Dec 2024 13:42:47 +0000 (+0100) Subject: wifi-scripts: ucode: change default behaviour of the vlan_no_bridge option X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=60f9ec2b227e0523ed0c31584b0ff09762b78740;p=openwrt%2Fopenwrt.git wifi-scripts: ucode: change default behaviour of the vlan_no_bridge option Signed-off-by: John Crispin --- diff --git a/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc b/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc index 8db3fc34b3..d6ca3b5dd2 100644 --- a/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc +++ b/package/network/config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc @@ -285,8 +285,8 @@ function iface_vlan(interface, config, vlans) { if (!config.vlan_possible || !config.dynamic_vlan) return; - - config.vlan_no_bridge = !config.vlan_bridge; + + set_default(config, 'vlan_no_bridge', !config.vlan_bridge); append_vars(config, [ 'dynamic_vlan', 'vlan_naming', 'vlan_bridge', 'vlan_no_bridge',