Upstream compatibility
This commit is contained in:
parent
d463d0b835
commit
de5f413ae3
2 changed files with 2 additions and 2 deletions
|
@ -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")
|
||||
|
||||
|
|
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in a new issue