diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-11-18 00:10:04 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-11-18 00:10:04 +0000 |
commit | 47c601d7a16567202786b9cce98c15f60fbd82bb (patch) | |
tree | 7ca939f3cdad0529a75a83c2d37064ea56abb151 /modules/admin-full/luasrc | |
parent | cbed72fb47c8c0eda6322574c678389b795cd23c (diff) |
* luci/modules/admin-full: fix reversed macfilter logic
Diffstat (limited to 'modules/admin-full/luasrc')
-rw-r--r-- | modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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 f0143a3e5..3a52ef317 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -98,8 +98,8 @@ if hwtype == "broadcom" then mp = s:option(ListValue, "macfilter", translate("wifi_macpolicy")) mp.optional = true mp:value("") - mp:value("deny", translate("wifi_whitelist")) - mp:value("allow", translate("wifi_blacklist")) + mp:value("allow", translate("wifi_whitelist")) + mp:value("deny", translate("wifi_blacklist")) ml = s:option(DynamicList, "maclist", translate("wifi_maclist")) ml:depends({macfilter="allow"}) ml:depends({macfilter="deny"}) |