Upstream compatibility
authorSteven Barth <steven@midlink.org>
Wed, 27 Aug 2008 12:29:59 +0000 (12:29 +0000)
committerSteven Barth <steven@midlink.org>
Wed, 27 Aug 2008 12:29:59 +0000 (12:29 +0000)
applications/luci-fw/luasrc/model/cbi/luci_fw/miniportfw.lua
applications/luci-fw/luasrc/model/cbi/luci_fw/portfw.lua

index 44a73918569fdf96466e6ff6b8562d724cd15b23..09806e67a847fb968bd83285370eaaac1ce926ed 100644 (file)
@@ -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")
 
index 72ff54642fa6d50f8317d7c7cc0617b4b03756a2..314dd418e1aea73571da160ac393dcd2406cbb0b 100644 (file)
@@ -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")