Skip to content

Commit

Permalink
luci-mod-network: add bridge_isolate option
Browse files Browse the repository at this point in the history
Adds the 'bridge_isolate' option to wireless interfaces.

Signed-off-by: Jan Froch <[email protected]>
  • Loading branch information
JFroch authored and systemcrash committed Feb 2, 2025
1 parent e845441 commit 2fb2bd3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 2fb2bd3

Please sign in to comment.