From: Jo-Philipp Wich Date: Sun, 16 Aug 2009 17:39:47 +0000 (+0000) Subject: modules/admin-full: label empty option "disable" in mac filter policy field X-Git-Tag: 0.10.0~1187 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f7eb9361d7065b91c12096449eb6b0faceac95d9;p=oweals%2Fluci.git modules/admin-full: label empty option "disable" in mac filter policy field --- 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 5a5824ced..d498c3c01 100644 --- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua +++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua @@ -105,7 +105,7 @@ if hwtype == "broadcom" then s:taboption("advanced", Value, "txpower", translate("a_w_txpwr"), "dBm").rmempty = true mp = s:taboption("macfilter", ListValue, "macfilter", translate("wifi_macpolicy")) - mp:value("") + mp:value("", translate("disable")) mp:value("allow", translate("wifi_whitelist")) mp:value("deny", translate("wifi_blacklist")) ml = s:taboption("macfilter", DynamicList, "maclist", translate("wifi_maclist")) @@ -252,7 +252,7 @@ if hwtype == "atheros" then s:taboption("advanced", Flag, "bgscan", translate("wifi_bgscan")) mp = s:taboption("macfilter", ListValue, "macpolicy", translate("wifi_macpolicy")) - mp:value("") + mp:value("", translate("disable")) mp:value("deny", translate("wifi_whitelist")) mp:value("allow", translate("wifi_blacklist")) ml = s:taboption("macfilter", DynamicList, "maclist", translate("wifi_maclist"))