Merge pull request #1708 from guidosarducci/lede-17.01-add-luci-isolate-mac80211

luci-mod-admin-full: backport add missing "isolate" option for mac80211
This commit is contained in:
Hannu Nyman 2018-05-23 08:30:15 +03:00 committed by GitHub
commit d585fd7cca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -535,6 +535,10 @@ 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