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:
parent
8b92d602bb
commit
af100ac3b2
@ -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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user