Fix bug 3426844: lsslp set incorrect parent values

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10854 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2011-10-21 15:10:16 +00:00
parent a8c592745b
commit 03802dd624

View File

@ -2495,8 +2495,8 @@ sub parse_responses {
my $type1 = @$data1[0];
my $mtm1 = @$data1[1];
my $sn1 = @$data1[2];
if ($mtm1 eq $bpamtm and $sn1 eq $bpasn) {
$parent = $h1; # FSP's parent is CEC
if ($mtm1 eq $bpamtm and $sn1 eq $bpasn and $type1 eq "frame") {
$parent = $h1; # CEC's parent is Frame
last;
} else {
$parent = undef; # Frame and HMC have no parent