]> git.proxmox.com Git - pve-common.git/blobdiff - src/PVE/Tools.pm
tools: getaddrinfo: code/indentation cleanup
[pve-common.git] / src / PVE / Tools.pm
index fc4a367214af378451c4bab63035086e9918d5e9..2a91a92f423ebd150a9a088cd153a3a29554fdd2 100644 (file)
@@ -1388,8 +1388,10 @@ sub unpack_sockaddr_in46 {
 
 sub getaddrinfo_all {
     my ($hostname, @opts) = @_;
-    my %hints = ( flags => AI_V4MAPPED | AI_ALL,
-                  @opts );
+    my %hints = (
+       flags => AI_V4MAPPED | AI_ALL,
+       @opts,
+    );
     my ($err, @res) = Socket::getaddrinfo($hostname, '0', \%hints);
     die "failed to get address info for: $hostname: $err\n" if $err;
     return @res;