From ed2a86b70f80adfc1e711f54c587df7b9c5e3e04 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 11 Dec 2009 15:57:15 +0000 Subject: [PATCH] luci-0.9: fix last commit: swap back swapped values and swap the others instead --- .../luasrc/model/cbi/admin_network/wifi.lua | 12 ++++++------ 1 file changed, 6 insertions(+), 6 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 7ff360502..ff6bf7057 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_blacklist")) - mp:value("deny", translate("wifi_whitelist")) + 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"}) @@ -222,8 +222,8 @@ if hwtype == "atheros" then mp = s:option(ListValue, "macpolicy", 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({macpolicy="allow"}) ml:depends({macpolicy="deny"}) @@ -298,8 +298,8 @@ if hwtype == "prism2" then mp = s:option(ListValue, "macpolicy", 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({macpolicy="allow"}) ml:depends({macpolicy="deny"}) -- 2.25.1