* luci/modules/admin-full: fix reversed macfilter logic
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 18 Nov 2008 00:10:04 +0000 (00:10 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 18 Nov 2008 00:10:04 +0000 (00:10 +0000)
modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua

index f0143a3e50995ec77c8fe64f45e0b67ba576e05f..3a52ef3170fd8b33509ccd055746c95225142081 100644 (file)
@@ -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"})