From: Jo-Philipp Wich Date: Sun, 30 May 2010 23:42:16 +0000 (+0000) Subject: applications/luci-fw: add an "any" option for traffoc rule protocols X-Git-Tag: 0.10.0~672 X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=928099d53ce7d083d8110a079cd826803f33d2e4 applications/luci-fw: add an "any" option for traffoc rule protocols --- diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua index 57e1427e3..0ce41e38c 100644 --- a/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua +++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua @@ -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")