fix bug 3524241: some dfm commnds failed when noderange is lpar

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
zhaoertao 2012-05-07 09:14:50 +00:00
parent 8434dfff50
commit 8453bc07d7

View File

@ -146,6 +146,9 @@ sub getIPaddress
# only need to parse IP addresses for Frame/CEC/BPA/FSP
if ($type eq "lpar") {
$type = xCAT::DBobjUtils->getnodetype($nodetocheck);
}
#my $type = xCAT::DBobjUtils->getnodetype($nodetocheck);
#my $type = $$attrs[4];
if ($type) {