mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-29 17:23:08 +00:00
Merge pull request #5754 from jjohnson42/tryv6thenv4
Have xCAT client try IPv6 if IPv4 fails
This commit is contained in:
commit
5d12e67786
@ -232,7 +232,8 @@ sub submit_request {
|
||||
$pclient = IO::Socket::INET6->new(
|
||||
%connargs,
|
||||
);
|
||||
} else {
|
||||
}
|
||||
unless ($pclient) {
|
||||
$pclient = IO::Socket::INET->new(
|
||||
PeerAddr => $xcathost,
|
||||
Timeout => 15,
|
||||
|
Loading…
x
Reference in New Issue
Block a user