v4 (adding the fix helps sometimes -_-)
This commit is contained in:
parent
cc41a2b5d3
commit
a29d88b075
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user