git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
1771b0c
)
modules/admin-full: allow mac filter only for ap mode interfaces
author
Jo-Philipp Wich
<redacted>
Tue, 4 Oct 2011 18:05:59 +0000
(18:05 +0000)
committer
Jo-Philipp Wich
<redacted>
Tue, 4 Oct 2011 18:05:59 +0000
(18:05 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
patch
|
blob
|
history
diff --git
a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
index 51b84df22efc03f892ed0a66b550598fe1a888e2..2ad3d5513e96047351bd3d1147e93ded732ab18e 100644
(file)
--- a/
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@
-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"))
git clone https://git.99rst.org/PROJECT