Merge pull request #1144 from LuttyYang/master
authorHannu Nyman <hannu.nyman@iki.fi>
Tue, 2 May 2017 06:53:59 +0000 (09:53 +0300)
committerGitHub <noreply@github.com>
Tue, 2 May 2017 06:53:59 +0000 (09:53 +0300)
luci-theme-material: fix some bug and sync some code from luci-theme-bootstrap

modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua

index 216162f..3a08d81 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