Have install monitor fall back to IPv4 resolution specific if the v6/v4 agnostic call fails
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
594c3df011
commit
9538a08566
@ -282,6 +282,7 @@ sleep 0.05; #up to 50 ms outage possible
|
||||
my @clients;
|
||||
if ($inet6support) {
|
||||
@clients = gethostbyaddr($conn->peeraddr,AF_INET6);
|
||||
unless (@clients) { @clients = gethostbyaddr($conn->peeraddr,AF_INET); }
|
||||
} else {
|
||||
@clients = gethostbyaddr($conn->peeraddr,AF_INET);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user