summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-multiwan
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-multiwan')
-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")