2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-16 11:20:32 +00:00

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@3494 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav
2009-06-02 18:39:33 +00:00
parent ebceef80b2
commit 28d5c5313b

View File

@ -7,9 +7,10 @@ BEGIN
}
my $inet6support;
$inet6support=eval { require Socket6 };
if ($^O =~ /^aix/i) { # disable AIX IPV6 TODO fix
$inet6support = 0;
} else {
$inet6support=eval { require Socket6 };
}
if ($inet6support) {
$inet6support = eval { require IO::Socket::INET6 };