* luci/applications: luci-fw: implement combined tcp+udp protocol option
This commit is contained in:
parent
8be65461bc
commit
2cb5387054
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ luci.model.uci.cursor():foreach("firewall", "zone",
|
||||||
proto = s:option(ListValue, "proto", translate("protocol"))
|
proto = s:option(ListValue, "proto", translate("protocol"))
|
||||||
proto.optional = true
|
proto.optional = true
|
||||||
proto:value("")
|
proto:value("")
|
||||||
|
proto:value("tcpudp", "TCP+UDP")
|
||||||
proto:value("tcp", "TCP")
|
proto:value("tcp", "TCP")
|
||||||
proto:value("udp", "UDP")
|
proto:value("udp", "UDP")
|
||||||
proto:value("icmp", "ICMP")
|
proto:value("icmp", "ICMP")
|
||||||
|
|
Loading…
Reference in a new issue