diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-08-27 19:20:43 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-08-27 19:20:43 +0000 |
commit | 2cb538705485aa35c2193cacb11e103c70d8dc4e (patch) | |
tree | 54f69256099cba86d33343b583679287351e6a80 /applications/luci-fw/luasrc/model/cbi | |
parent | 8be65461bcc64250f4ee1df3eef8de22f2c3f87f (diff) |
* luci/applications: luci-fw: implement combined tcp+udp protocol option
Diffstat (limited to 'applications/luci-fw/luasrc/model/cbi')
-rw-r--r-- | applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua | 1 |
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") |