We should also accept open-ended IPv6 addresses such as, e.g., fda2:2001:5555::

Signed-off-by: DL6ER <dl6er@dl6er.de>
This commit is contained in:
DL6ER
2020-04-13 09:48:08 +02:00
parent 8e51f754e4
commit 8ad3b70f96

View File

@@ -116,7 +116,7 @@ function validateIPv6CIDR(ip) {
ipv6elem +
"))*::((?:" +
ipv6elem +
"))((?::" +
"))*((?::" +
ipv6elem +
"))*|((?:" +
ipv6elem +