summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-fw
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2008-08-27 19:20:43 +0000
committerJo-Philipp Wich <jow@openwrt.org>2008-08-27 19:20:43 +0000
commit2cb538705485aa35c2193cacb11e103c70d8dc4e (patch)
tree54f69256099cba86d33343b583679287351e6a80 /applications/luci-fw
parent8be65461bcc64250f4ee1df3eef8de22f2c3f87f (diff)
* luci/applications: luci-fw: implement combined tcp+udp protocol option
Diffstat (limited to 'applications/luci-fw')
-rw-r--r--applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua1
1 files changed, 1 insertions, 0 deletions
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")