From f7eb9361d7065b91c12096449eb6b0faceac95d9 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 16 Aug 2009 17:39:47 +0000 Subject: modules/admin-full: label empty option "disable" in mac filter policy field --- modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules') 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")) -- cgit v1.2.3