summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-multiwan/luasrc/model/cbi
diff options
context:
space:
mode:
authorCraig M. Coffee <craigc@netlab7.com>2010-06-26 08:12:52 +0000
committerCraig M. Coffee <craigc@netlab7.com>2010-06-26 08:12:52 +0000
commita3e2691a73da98ec394e8be59a727942dcdc352b (patch)
tree4d37b7a1de8ffc7857d8e84371af0a46f08534ae /applications/luci-multiwan/luasrc/model/cbi
parent05a61e4632ade292d673c5237bafc03abd7531e0 (diff)
[applications] luci-multiwan: Changed ListValue to Value for protocols, updated text in po for ports and protocols
Diffstat (limited to 'applications/luci-multiwan/luasrc/model/cbi')
-rw-r--r--applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua2
-rw-r--r--applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua
index ee71e295b8..96718f7cf0 100644
--- a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua
+++ b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua
@@ -123,7 +123,7 @@ dst.rmempty = true
dst:value("", translate("all"))
luci.tools.webadmin.cbi_add_knownips(dst)
-proto = s:option(ListValue, "proto", translate("Protocol"))
+proto = s:option(Value, "proto", translate("Protocol"))
proto:value("", translate("all"))
proto:value("tcp", "TCP")
proto:value("udp", "UDP")
diff --git a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua
index 7556901591..e14dc0a9fd 100644
--- a/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua
+++ b/applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua
@@ -35,7 +35,7 @@ dst.rmempty = true
dst:value("", translate("all"))
luci.tools.webadmin.cbi_add_knownips(dst)
-proto = s:option(ListValue, "proto", translate("Protocol"))
+proto = s:option(Value, "proto", translate("Protocol"))
proto:value("", translate("all"))
proto:value("tcp", "TCP")
proto:value("udp", "UDP")