From: Steven Barth Date: Wed, 27 Aug 2008 12:29:59 +0000 (+0000) Subject: Upstream compatibility X-Git-Tag: 0.8.0~289 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=de5f413ae331485f6ddddf08d6c428403accaee3;p=oweals%2Fluci.git Upstream compatibility --- 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")