5
0
mirror of git://git.proxmox.com/git/pve-storage.git synced 2024-12-24 21:34:48 +03:00

Fix nfsscan

Signed-off-by: Wolfgang Link <w.link@proxmox.com>
This commit is contained in:
Wolfgang Link 2015-06-09 10:01:48 +02:00 committed by Dietmar Maurer
parent 6564419625
commit ee302b1caa

View File

@ -937,7 +937,7 @@ sub resolv_server {
$packed_ip = (PVE::Tools::unpack_sockaddr_in46($res[0]->{addr}))[2];
};
if (defined $packed_ip) {
return inet_ntop($family, $packed_ip);
return Socket::inet_ntop($family, $packed_ip);
}
return undef;
}