-Explicitly instruct SSL to do inet4 only if our ipv6 support checks fail
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4642 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
37c9472acb
commit
76b5a8eb31
@ -30,7 +30,7 @@ if ($inet6support) {
|
||||
unless ($inet6support) {
|
||||
eval { require Socket };
|
||||
eval { require IO::Socket::INET };
|
||||
eval { require IO::Socket::SSL; IO::Socket::SSL->import() };
|
||||
eval { require IO::Socket::SSL; IO::Socket::SSL->import('inet4') };
|
||||
}
|
||||
|
||||
|
||||
|
@ -55,7 +55,7 @@ if ($inet6support) {
|
||||
unless ($inet6support) {
|
||||
eval { require Socket };
|
||||
eval { require IO::Socket::INET };
|
||||
eval { require IO::Socket::SSL; IO::Socket::SSL->import(); };
|
||||
eval { require IO::Socket::SSL; IO::Socket::SSL->import('inet4'); };
|
||||
}
|
||||
|
||||
my $dispatch_requests = 1; # govern whether commands are dispatchable
|
||||
|
Loading…
Reference in New Issue
Block a user