From 45fecc3aa5c890593298567e794df146f25f52a5 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Fri, 27 Jan 2012 16:53:48 +0000 Subject: [PATCH] Have IPMI avoid conflicts between Socket6 and INET in some configs git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11425 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/IPMI.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/IPMI.pm b/xCAT-server/lib/perl/xCAT/IPMI.pm index d19b47149..9f4e2e397 100644 --- a/xCAT-server/lib/perl/xCAT/IPMI.pm +++ b/xCAT-server/lib/perl/xCAT/IPMI.pm @@ -14,7 +14,8 @@ use lib "$::XCATROOT/lib/perl"; use strict; use warnings "all"; -use IO::Socket::INET; +use IO::Socket::INET qw/!AF_INET6 !PF_INET6/; + my $doipv6=eval { require IO::Socket::INET6; IO::Socket::INET6->import();