fix for the problem when mn configured with global ipv6 address.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@11464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing
2012-02-03 09:53:09 +00:00
parent 5e482788b8
commit 6c42d488fc
+1 -1
View File
@@ -938,7 +938,7 @@ sub add_or_delete_records {
@ips = ($ctx->{hoststab}->{$node}->[0]->{ip});
} else {
@ips = getipaddr($node,GetAllAddresses=>1);
unless (@ips) {
if (!defined($ips[0])) {
xCAT::SvrUtils::sendmsg([1,"Unable to find an IP for $node in hosts table or via system lookup (i.e. /etc/hosts"], $callback);
next;
}