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:
8be6546
)
* luci/applications: luci-fw: implement combined tcp+udp protocol option
author
Jo-Philipp Wich
<redacted>
Wed, 27 Aug 2008 19:20:43 +0000
(19:20 +0000)
committer
Jo-Philipp Wich
<redacted>
Wed, 27 Aug 2008 19:20:43 +0000
(19:20 +0000)
applications/luci-fw/luasrc/model/cbi/luci_fw/firewall.lua
patch
|
blob
|
history
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 51ec4452aff797f77919e5257ed5651c5a6a22ed..3d0cd9e5bd1fa50f2c0b51bd5c8be0b40d8d8dcc 100644
(file)
--- 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")
git clone https://git.99rst.org/PROJECT