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:
757e9c2
)
applications/luci-firewall: allow negated uci identifiers, hostnames and ip addresses...
author
Jo-Philipp Wich
<redacted>
Fri, 16 Dec 2011 01:25:07 +0000
(
01:25
+0000)
committer
Jo-Philipp Wich
<redacted>
Fri, 16 Dec 2011 01:25:07 +0000
(
01:25
+0000)
applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua
patch
|
blob
|
history
diff --git
a/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua
b/applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua
index 2bcb9a9802e70823af036c96fbba9ba78d9a11e1..8c9c09102fda90aa23d8460a88364fa884e7b1b2 100644
(file)
--- a/
applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua
+++ b/
applications/luci-firewall/luasrc/model/cbi/luci_fw/zone.lua
@@
-129,7
+129,7
@@
msrc = s:taboption("advanced", DynamicList, "masq_src",
translate("Restrict Masquerading to given source subnets"))
msrc.optional = true
-msrc.datatype = "neg
_network_ip4addr
"
+msrc.datatype = "neg
(network)
"
msrc.placeholder = "0.0.0.0/0"
msrc:depends("family", "")
msrc:depends("family", "ipv4")
@@
-138,7
+138,7
@@
mdest = s:taboption("advanced", DynamicList, "masq_dest",
translate("Restrict Masquerading to given destination subnets"))
mdest.optional = true
-mdest.datatype = "neg
_network_ip4addr
"
+mdest.datatype = "neg
(network)
"
mdest.placeholder = "0.0.0.0/0"
mdest:depends("family", "")
mdest:depends("family", "ipv4")
git clone https://git.99rst.org/PROJECT