* luci/applications: luci-fw: implement combined tcp+udp protocol option

This commit is contained in:
Jo-Philipp Wich 2008-08-27 19:20:43 +00:00
parent 8be65461bc
commit 2cb5387054

View file

@ -33,6 +33,7 @@ luci.model.uci.cursor():foreach("firewall", "zone",
proto = s:option(ListValue, "proto", translate("protocol"))
proto.optional = true
proto:value("")
proto:value("tcpudp", "TCP+UDP")
proto:value("tcp", "TCP")
proto:value("udp", "UDP")
proto:value("icmp", "ICMP")