mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-31 19:32:31 +00:00 
			
		
		
		
	-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:
		| @@ -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 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user