diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2010-05-30 23:42:16 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2010-05-30 23:42:16 +0000 |
commit | 928099d53ce7d083d8110a079cd826803f33d2e4 (patch) | |
tree | 4e668bdcd41f57ed7b386fd25c3b3b34f2126ba2 /applications | |
parent | 2c1f56af57237d52838bddaf91e0cbd262a5cf81 (diff) |
applications/luci-fw: add an "any" option for traffoc rule protocols
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua index 57e1427e3b..0ce41e38c7 100644 --- a/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua +++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua @@ -46,6 +46,7 @@ luci.model.uci.cursor():foreach("firewall", "zone", proto = s:option(Value, "proto", translate("Protocol")) proto.optional = true proto:value("") +proto:value("all", translate("Any")) proto:value("tcpudp", "TCP+UDP") proto:value("tcp", "TCP") proto:value("udp", "UDP") |