diff options
| author | fantom-x <fantom-x@users.noreply.github.com> | 2017-04-30 16:38:45 -0400 |
|---|---|---|
| committer | guidosarducci <guidosarducci@users.noreply.github.com> | 2018-03-29 21:12:31 -0700 |
| commit | d01ad2bdf6557710bf48150e3fa4d12ebfcd97ab (patch) | |
| tree | 928825808ccef871648d96a58a6cc580a0cea16d | |
| parent | d09277299c402bbc01c9558048359f12a31a2989 (diff) | |
luci-mod-admin-full: "isolate" option is missing for mac80211
Signed-off-by: Marc Benoit marcb6218@gmail.com
[Tony Ambardar: backported from aee99ce9 ('luci-mod-admin-full: "isolate"
option is missing for mac80211')]
Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
| -rw-r--r-- | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua index 851dbee465..969cfed78a 100644 --- a/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -535,6 +535,10 @@ if hwtype == "mac80211" then wmm:depends({mode="ap-wds"}) wmm.default = wmm.enabled + isolate = s:taboption("advanced", Flag, "isolate", translate("Isolate Clients"), translate("Prevents client-to-client communication")) + isolate:depends({mode="ap"}) + isolate:depends({mode="ap-wds"}) + ifname = s:taboption("advanced", Value, "ifname", translate("Interface name"), translate("Override default interface name")) ifname.optional = true end |
