fix defect 3734 makehosts throw exceptions when node ip is not illegal

This commit is contained in:
immarvin 2013-08-08 21:03:39 -07:00
parent 18db706c89
commit 368d0d1e83

View File

@ -257,7 +257,7 @@ sub add_hosts_content {
else
{
my $rsp;
push @{$rsp->{data}}, "Invalid IP Addr \'$_->{ip}\' for node \'$_->{node}\'.";
push @{$rsp->{data}}, "Invalid IP Addr \'$ref->{ip}\' for node \'$ref->{node}\'.";
xCAT::MsgUtils->message("E", $rsp, $callback);
}
if (defined($ref->{otherinterfaces}))