From 7b3830a279051b2f5c54f0cc7af2a7a1aead4fc3 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 11 Dec 2009 15:50:39 +0000 Subject: [PATCH] luci-0.9: labels for black- and whitelist are swapped --- modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 4 ++-- 1 file 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 bd4f73b917..7ff360502d 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -101,8 +101,8 @@ if hwtype == "broadcom" then mp = s:option(ListValue, "macfilter", translate("wifi_macpolicy")) mp.optional = true mp:value("") - mp:value("allow", translate("wifi_whitelist")) - mp:value("deny", translate("wifi_blacklist")) + mp:value("allow", translate("wifi_blacklist")) + mp:value("deny", translate("wifi_whitelist")) ml = s:option(DynamicList, "maclist", translate("wifi_maclist")) ml:depends({macfilter="allow"}) ml:depends({macfilter="deny"}) -- 2.30.2