summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-08-09 10:03:32 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-08-09 10:03:32 +0000
commita2e93572a9ce37a56e5e4ee138215cfa9391f22d (patch)
tree5b1662d54a1505c76d49a2509d689702311d9e81 /applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua
parent2026f5388100baf4f2a4d34fd4279a708672dfa5 (diff)
applications/luci-firewall: allow negations in all applicable fields (#468)
Diffstat (limited to 'applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua')
-rw-r--r--applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua2
1 files changed, 1 insertions, 1 deletions
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 8a8ac3236c..0086148c76 100644
--- 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",