Merge pull request #1140 from fantom-x/luci-mod-admin-full-mac80211-isolate
luci-mod-admin-full: "isolate" option is missing for mac80211
This commit is contained in:
commit
827fb3be8e
1 changed files with 5 additions and 0 deletions
|
@ -461,6 +461,11 @@ if hwtype == "mac80211" then
|
||||||
wmm:depends({mode="ap-wds"})
|
wmm:depends({mode="ap-wds"})
|
||||||
wmm.default = wmm.enabled
|
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 = s:taboption("advanced", Value, "ifname", translate("Interface name"), translate("Override default interface name"))
|
||||||
ifname.optional = true
|
ifname.optional = true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue