summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
authorfantom-x <fantom-x@users.noreply.github.com>2017-04-30 16:38:45 -0400
committerfantom-x <fantom-x@users.noreply.github.com>2017-05-01 17:16:00 -0400
commitaee99ce92730912f21fb313953ac6b7a35a5df58 (patch)
treeaf4450a3244bfc31475cf4da0d7fda05f1d7c244 /modules
parent1497d4ad480be2d047b6523ef8b68d051fac04a2 (diff)
luci-mod-admin-full: "isolate" option is missing for mac80211
Signed-off-by: Marc Benoit marcb6218@gmail.com
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 216162f75..3a08d81d0 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