From 2fb2bd36c700c83177fc6ca906819f0671ebe358 Mon Sep 17 00:00:00 2001 From: Jan Froch Date: Sat, 1 Feb 2025 16:58:48 +0100 Subject: [PATCH] luci-mod-network: add bridge_isolate option Adds the 'bridge_isolate' option to wireless interfaces. Signed-off-by: Jan Froch --- .../htdocs/luci-static/resources/view/network/wireless.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js index 4b12042b721c..97c9344890c1 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/wireless.js @@ -1217,6 +1217,8 @@ return view.extend({ o.depends('mode', 'ap'); o.depends('mode', 'ap-wds'); + o = ss.taboption('advanced', form.Flag, 'bridge_isolate', _('Isolate Bridge Port'), _('Prevents communication only with targets on isolated bridge ports (while allowing it with targets on non-isolated ones). This also prevents client-to-client communication on the same interface when the WiFi device is in AP mode.')); + o = ss.taboption('advanced', form.Value, 'ifname', _('Interface name'), _('Override default interface name')); o.optional = true; o.datatype = 'netdevname';