applications/luci-fw: add an "any" option for traffoc rule protocols
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 30 May 2010 23:42:16 +0000 (23:42 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 30 May 2010 23:42:16 +0000 (23:42 +0000)
applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua

index 57e1427e3b85c81ea9772232f881b3e7b48cd265..0ce41e38c782500945ab0cb50abe4734b1dc2b56 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")