luci-base: validation.js: add iprange, iprange4 and iprange6 validators
authorJo-Philipp Wich <jo@mein.io>
Wed, 21 Feb 2024 13:37:03 +0000 (14:37 +0100)
committerJo-Philipp Wich <jo@mein.io>
Wed, 21 Feb 2024 14:33:08 +0000 (15:33 +0100)
commitcf09f89df307f2e9d2b5dda152c571b3d0d1550d
treea4c0a32da385b8ccffdf86686551f0f5317d8275
parent5ef203a46e06317506dab0c33cdea9ecca3f5fcc
luci-base: validation.js: add iprange, iprange4 and iprange6 validators

Add datatype validators for IP address ranges which are required for certain
firewall inputs.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/htdocs/luci-static/resources/validation.js