Forwarding destination could be an IPv6 address https://github.com/webmin/webmin/issues/2413

This commit is contained in:
Jamie Cameron 2025-02-16 15:17:44 -08:00
parent 1792dd916e
commit 2cd5cfb4e3

View File

@ -36,6 +36,7 @@ else {
my $dstaddr;
if (!$in{'dstaddr_def'}) {
&check_ipaddress($in{'dstaddr'}) ||
&check_ip6address($in{'dstaddr'}) ||
&error($text{'forward_edstaddr'});
$dstaddr = $in{'dstaddr'};
}