From 928099d53ce7d083d8110a079cd826803f33d2e4 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 30 May 2010 23:42:16 +0000 Subject: [PATCH 1/1] applications/luci-fw: add an "any" option for traffoc rule protocols --- applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua | 1 + 1 file changed, 1 insertion(+) 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") -- 2.11.0