summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-fw/luasrc
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-08-27 12:29:59 +0000
committerSteven Barth <steven@midlink.org>2008-08-27 12:29:59 +0000
commitde5f413ae331485f6ddddf08d6c428403accaee3 (patch)
tree586af9f3a5304d6be35eda46afa84cf8a340833e /applications/luci-fw/luasrc
parentd463d0b8357764ca9018549fa624c428f56fcd87 (diff)
Upstream compatibility
Diffstat (limited to 'applications/luci-fw/luasrc')
-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 44a7391856..09806e67a8 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 72ff54642f..314dd418e1 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")