From: Jo-Philipp Wich Date: Wed, 27 Aug 2008 19:20:43 +0000 (+0000) Subject: * luci/applications: luci-fw: implement combined tcp+udp protocol option X-Git-Tag: 0.8.0~275 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2cb538705485aa35c2193cacb11e103c70d8dc4e;p=project%2Fluci.git * luci/applications: luci-fw: implement combined tcp+udp protocol option --- diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua index 51ec4452af..3d0cd9e5bd 100644 --- a/applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua +++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua @@ -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")