summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-05-02 09:52:13 +0300
committerGitHub <noreply@github.com>2017-05-02 09:52:13 +0300
commit827fb3be8eeb9702ae5691bab39fd6176b00860d (patch)
tree2e41fdbadc21743cae581e52ed828dbab9a5c3d2 /modules
parent61797d5b1323646af148e839e01fe41ea29e22da (diff)
parentaee99ce92730912f21fb313953ac6b7a35a5df58 (diff)
Merge pull request #1140 from fantom-x/luci-mod-admin-full-mac80211-isolate
luci-mod-admin-full: "isolate" option is missing for mac80211
Diffstat (limited to 'modules')
-rw-r--r--modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua5
1 files changed, 5 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 216162f75a..3a08d81d0a 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
@@ -461,6 +461,11 @@ 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