luci-app-firewall: allow negative prefix lengths
authorJo-Philipp Wich <jo@mein.io>
Mon, 1 Mar 2021 14:18:25 +0000 (15:18 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 1 Mar 2021 14:19:21 +0000 (15:19 +0100)
commitc3db6905c3e33ca6dacd3fc8c6e7ea2e70119bd8
treea35932b087d75fac4b6146312ccdc787df94cdb9
parenta483ae4371e41c6c781eba6824aca4174c317895
luci-app-firewall: allow negative prefix lengths

Fixes: #4812
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit f64b3d509446cc78a7df746b174bdab330f23ab2)
applications/luci-app-firewall/htdocs/luci-static/resources/tools/firewall.js
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/forwards.js
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/snats.js
applications/luci-app-firewall/htdocs/luci-static/resources/view/firewall/zones.js