modules/admin-full: allow mac filter only for ap mode interfaces
This commit is contained in:
parent
1771b0c551
commit
523f70c927
1 changed files with 2 additions and 0 deletions
|
@ -358,6 +358,8 @@ if hwtype == "mac80211" then
|
|||
s:taboption("advanced", Value, "rts", translate("RTS/CTS Threshold"))
|
||||
|
||||
mp = s:taboption("macfilter", ListValue, "macfilter", translate("MAC-Address Filter"))
|
||||
mp:depends({mode="ap"})
|
||||
mp:depends({mode="ap-wds"})
|
||||
mp:value("", translate("disable"))
|
||||
mp:value("allow", translate("Allow listed only"))
|
||||
mp:value("deny", translate("Allow all except listed"))
|
||||
|
|
Loading…
Reference in a new issue