summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwan.lua2
-rw-r--r--applications/luci-multiwan/luasrc/model/cbi/multiwan/multiwanmini.lua2
-rw-r--r--po/en/multiwan.po10
3 files changed, 12 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")
diff --git a/po/en/multiwan.po b/po/en/multiwan.po
index 514a7dc38a..e61354de85 100644
--- a/po/en/multiwan.po
+++ b/po/en/multiwan.po
@@ -123,3 +123,13 @@ msgstr "Enable"
#. Load Balancer(Performance)
msgid "Load Balancer(Performance)"
msgstr "Load Balancer(Performance)"
+
+#: /tmp/i18n/luasrc/i18n/multiwan.en.lua:25
+#. Ports
+msgid "Ports"
+msgstr "Ports"
+
+#: /tmp/i18n/luasrc/i18n/multiwan.en.lua:26
+#. Protocol
+msgid "Protocol"
+msgstr "Protocol"