luci-0.9: labels for black- and whitelist are swapped
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 11 Dec 2009 15:50:39 +0000 (15:50 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 11 Dec 2009 15:50:39 +0000 (15:50 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua

index bd4f73b917cf6c309b27801a3e122862e9eef6af..7ff360502d05fa73efaf805f2d02f0877bbeadd0 100644 (file)
@@ -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"})