summaryrefslogtreecommitdiffhomepage
path: root/modules/admin-full/luasrc/model/cbi/admin_network
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-19 10:42:18 +0000
committerSteven Barth <steven@midlink.org>2008-09-19 10:42:18 +0000
commit1c7cc8501c0b54cc7565d5c2be10dd595c92fac1 (patch)
tree7e06e49eabe48c46885710f1865b6b5ba6990dd2 /modules/admin-full/luasrc/model/cbi/admin_network
parent712424dc0cf17a60f3d77024b892cc04146f6295 (diff)
Fixed a typo for broadcom maclist, Improved general maclist handling
Diffstat (limited to 'modules/admin-full/luasrc/model/cbi/admin_network')
-rw-r--r--modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua10
1 files changed, 5 insertions, 5 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 cbc30d5c37..b687133ced 100644
--- a/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
+++ b/modules/admin-full/luasrc/model/cbi/admin_network/wifi.lua
@@ -79,14 +79,14 @@ end
------------------- Broadcom Device ------------------
if hwtype == "broadcom" then
- mp = s:option(ListValue, "macpolicy", translate("wifi_macpolicy"))
+ 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"))
- ml = s:option(Value, "maclist", translate("wifi_maclist"))
- ml:depends({macpolicy="allow"})
- ml:depends({macpolicy="deny"})
+ ml = s:option(DynamicList, "maclist", translate("wifi_maclist"))
+ ml:depends({macfilter="allow"})
+ ml:depends({macfilter="deny"})
s:option(Value, "txant", translate("wifi_txantenna")).optional = true
s:option(Value, "rxant", translate("wifi_rxantenna")).optional = true
@@ -190,7 +190,7 @@ if hwtype == "atheros" then
mp:value("")
mp:value("deny", translate("wifi_whitelist"))
mp:value("allow", translate("wifi_blacklist"))
- ml = s:option(Value, "maclist", translate("wifi_maclist"))
+ ml = s:option(DynamicList, "maclist", translate("wifi_maclist"))
ml:depends({macpolicy="allow"})
ml:depends({macpolicy="deny"})