v4 (adding the fix helps sometimes -_-)

This commit is contained in:
XiCoN-FJS- 2020-11-23 03:01:18 +01:00
parent cc41a2b5d3
commit a29d88b075

View File

@ -167,7 +167,7 @@ sub get_ip_from_interface
}
}
my @addresses = $interface->address($_family);
my @addresses = $interface->address($_family) if defined $interface;
foreach my $ip (@addresses)
{