luci-mod-admin-full: "isolate" option is missing for mac80211 1140/head
authorfantom-x <fantom-x@users.noreply.github.com>
Sun, 30 Apr 2017 20:38:45 +0000 (16:38 -0400)
committerfantom-x <fantom-x@users.noreply.github.com>
Mon, 1 May 2017 21:16:00 +0000 (17:16 -0400)
Signed-off-by: Marc Benoit marcb6218@gmail.com
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua

index 216162f75a19b57bbbf68828c173d6c6b32fd35d..3a08d81d0af638b0078f81b6a382f4d11b8360ee 100644 (file)
@@ -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