applications/luci-fw: add an "any" option for traffoc rule protocols
[project/luci.git] / applications / luci-fw / luasrc / model / cbi / luci_fw / trule.lua
index 57e1427..0ce41e3 100644 (file)
@@ -46,6 +46,7 @@ luci.model.uci.cursor():foreach("firewall", "zone",
 proto = s:option(Value, "proto", translate("Protocol"))
 proto.optional = true
 proto:value("")
+proto:value("all", translate("Any"))
 proto:value("tcpudp", "TCP+UDP")
 proto:value("tcp", "TCP")
 proto:value("udp", "UDP")