mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Fix validation of IPv6 addresses
This commit is contained in:
@@ -32,7 +32,7 @@ else {
|
||||
@addrs = split(/\s+/, $in{'addr'});
|
||||
foreach $a (@addrs) {
|
||||
gethostbyname($a) || &check_ipaddress($a) ||
|
||||
&check_ip6address($a) ||
|
||||
&check_apache_ip6address($a) ||
|
||||
&error(&text('cvirt_eaddr2', $a));
|
||||
}
|
||||
$addr = $in{'addr'};
|
||||
|
||||
Reference in New Issue
Block a user