From 47c601d7a16567202786b9cce98c15f60fbd82bb Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 18 Nov 2008 00:10:04 +0000 Subject: * luci/modules/admin-full: fix reversed macfilter logic --- modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/admin-full/luasrc') 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"}) -- cgit v1.2.3