summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua
diff options
context:
space:
mode:
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.lua4
1 files changed, 2 insertions, 2 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 25666dd48..cd34030fa 100644
--- a/applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua
+++ b/applications/luci-firewall/luasrc/model/cbi/firewall/rule-details.lua
@@ -282,7 +282,7 @@ else
o = s:option(Value, "src_port", translate("Source port"))
- o.datatype = "list(neg,portrange)"
+ o.datatype = "list(neg(portrange))"
o.placeholder = translate("any")
@@ -299,7 +299,7 @@ else
o = s:option(Value, "dest_port", translate("Destination port"))
- o.datatype = "list(neg,portrange)"
+ o.datatype = "list(neg(portrange))"
o.placeholder = translate("any")