FSP/BPA redundancy: Fix a mistake, HMC node may still has multiple IP addresses.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8610 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-01-11 16:00:56 +00:00
parent 8b92d602bb
commit af100ac3b2

View File

@ -1821,7 +1821,12 @@ sub parse_responses {
my $mtm = @$data[1];
my $sn = @$data[2];
my $side = @$data[3];
my $ip0 = @$data[4];
my $ip0;
if ( $h =~ /^([^\(]+)\(([^\)]+)\)$/ ) {
$ip0 = $2;
} else {
$ip0 = @$data[4];
}
my $bpamtm = @$data[5];
my $bpasn = @$data[6];