]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/Tools.pm
prevent the use of AI_ADDRCONFIG
[pve-common.git] / src / PVE / Tools.pm
index 01823c28fd1cbaa1ea5ad394215b75b31007f808..1bc9eec6afa857926e62626747318268f4d21ed6 100644 (file)
@@ -696,7 +696,8 @@ sub next_unused_port {
                                           LocalPort => $p,
                                           ReuseAddr => 1,
                                           Family    => $family,
-                                          Proto     => 0);
+                                          Proto     => 0,
+                                          GetAddrInfoFlags => 0);
 
            if ($sock) {
                close($sock);