From 2cb538705485aa35c2193cacb11e103c70d8dc4e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Wed, 27 Aug 2008 19:20:43 +0000 Subject: * luci/applications: luci-fw: implement combined tcp+udp protocol option --- applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'applications/luci-fw/luasrc/model') 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 51ec4452a..3d0cd9e5b 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") -- cgit v1.2.3