git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
2c1f56a
)
applications/luci-fw: add an "any" option for traffoc rule protocols
author
Jo-Philipp Wich
<redacted>
Sun, 30 May 2010 23:42:16 +0000
(23:42 +0000)
committer
Jo-Philipp Wich
<redacted>
Sun, 30 May 2010 23:42:16 +0000
(23:42 +0000)
applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua
patch
|
blob
|
history
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 57e1427e3b85c81ea9772232f881b3e7b48cd265..0ce41e38c782500945ab0cb50abe4734b1dc2b56 100644
(file)
--- 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")
git clone https://git.99rst.org/PROJECT