summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--applications/luci-fw/luasrc/model/cbi/luci_fw/miniportfw.lua2
-rw-r--r--applications/luci-fw/luasrc/model/cbi/luci_fw/portfw.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/miniportfw.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/miniportfw.lua
index 44a739185..09806e67a 100644
--- a/applications/luci-fw/luasrc/model/cbi/luci_fw/miniportfw.lua
+++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/miniportfw.lua
@@ -26,7 +26,7 @@ s.anonymous = true
name = s:option(Value, "_name", translate("name"), translate("cbi_optional"))
name.size = 10
-proto = s:option(ListValue, "protocol", translate("protocol"))
+proto = s:option(ListValue, "proto", translate("protocol"))
proto:value("tcp", "TCP")
proto:value("udp", "UDP")
diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/portfw.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/portfw.lua
index 72ff54642..314dd418e 100644
--- a/applications/luci-fw/luasrc/model/cbi/luci_fw/portfw.lua
+++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/portfw.lua
@@ -30,7 +30,7 @@ luci.model.uci.cursor():foreach("firewall", "zone",
iface:value(section.name)
end)
-proto = s:option(ListValue, "protocol", translate("protocol"))
+proto = s:option(ListValue, "proto", translate("protocol"))
proto:value("tcp", "TCP")
proto:value("udp", "UDP")