From aee99ce92730912f21fb313953ac6b7a35a5df58 Mon Sep 17 00:00:00 2001 From: fantom-x Date: Sun, 30 Apr 2017 16:38:45 -0400 Subject: [PATCH] luci-mod-admin-full: "isolate" option is missing for mac80211 Signed-off-by: Marc Benoit marcb6218@gmail.com --- .../luasrc/model/cbi/admin_network/wifi.lua | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.25.1