From 2cb8e227ce09e8ac8818aeee67651baccc103c5d Mon Sep 17 00:00:00 2001 From: lissav Date: Tue, 2 Jun 2009 18:40:06 +0000 Subject: [PATCH] enhance logic to not pull in Socket6 at all for AIX git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/sbin/xcatd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xCAT-server/sbin/xcatd b/xCAT-server/sbin/xcatd index 87a8224c9..eb736d04a 100755 --- a/xCAT-server/sbin/xcatd +++ b/xCAT-server/sbin/xcatd @@ -31,9 +31,10 @@ my %dispatched_children=(); my $plugin_numchildren=0; my %plugin_children; my $inet6support; -$inet6support=eval { require Socket6 }; if ($^O =~ /^aix/i) { # disable AIX IPV6 TODO $inet6support = 0; +} else { + $inet6support=eval { require Socket6 }; } if ($inet6support) { $inet6support = eval { require IO::Socket::INET6 };