projects
/
project
/
luci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
applications/luci-firewall: allow negations in all applicable fields (#468)
[project/luci.git]
/
applications
/
luci-firewall
/
luasrc
/
model
/
cbi
/
firewall
/
rule-details.lua
diff --git
a/applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua
b/applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua
index
8a8ac32
..
0086148
100644
(file)
--- a/
applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua
+++ b/
applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua
@@
-156,7
+156,7
@@
elseif rule_type == "redirect" then
o.rmempty = true
o.placeholder = translate("any")
- o.datatype = "
portrange
"
+ o.datatype = "
neg(portrange)
"
o = s:option(Value, "src_dip",