* luci/applications: luci-fw: implement combined tcp+udp protocol option
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 27 Aug 2008 19:20:43 +0000 (19:20 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 27 Aug 2008 19:20:43 +0000 (19:20 +0000)
applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua

index 51ec4452aff797f77919e5257ed5651c5a6a22ed..3d0cd9e5bd1fa50f2c0b51bd5c8be0b40d8d8dcc 100644 (file)
@@ -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")