Signed-off-by: Wolfgang Link <w.l...@proxmox.com>
---
 PVE/Storage.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index c1cf524..dee0d59 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.pm
@@ -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;
 }
-- 
2.1.4


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to