[openwrt/openwrt] wifi-scripts: ucode: change default behaviour of the vlan_no_bridge option
LEDE Commits
lede-commits at lists.infradead.org
Wed Dec 11 06:43:46 PST 2024
blogic pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/60f9ec2b227e0523ed0c31584b0ff09762b78740
commit 60f9ec2b227e0523ed0c31584b0ff09762b78740
Author: John Crispin <john at phrozen.org>
AuthorDate: Wed Dec 11 14:42:47 2024 +0100
wifi-scripts: ucode: change default behaviour of the vlan_no_bridge option
Signed-off-by: John Crispin <john at phrozen.org>
---
.../config/wifi-scripts/files-ucode/usr/share/ucode/wifi/ap.uc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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',
More information about the lede-commits
mailing list