summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-firewall/luasrc/view/firewall/cbi_addrule.htm
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-firewall/luasrc/view/firewall/cbi_addrule.htm')
-rw-r--r--applications/luci-firewall/luasrc/view/firewall/cbi_addrule.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/applications/luci-firewall/luasrc/view/firewall/cbi_addrule.htm b/applications/luci-firewall/luasrc/view/firewall/cbi_addrule.htm
index 473f9f4519..463b2e05f4 100644
--- a/applications/luci-firewall/luasrc/view/firewall/cbi_addrule.htm
+++ b/applications/luci-firewall/luasrc/view/firewall/cbi_addrule.htm
@@ -73,7 +73,7 @@
</table>
<script type="text/javascript">//<![CDATA[
- cbi_validate_field('_newopen.extport', true, 'list(portrange)');
+ cbi_validate_field('_newopen.extport', true, 'list(neg(portrange))');
cbi_bind(document.getElementById('_newopen.extport'), 'blur',
function() {
var n = document.getElementById('_newopen.name');