minor fix

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12726 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2012-05-16 03:16:49 +00:00
parent 30a91fe7bb
commit 6008d9f8f7

View File

@ -954,7 +954,7 @@ sub parse_responses {
$atthash{type} = $service_slp{$type};
$atthash{mtm} = ${$attributes->{'enclosure-mtm'}}[0];
$atthash{serial} = ${$attributes->{'enclosure-serial-number'}}[0];
$atthash{slot} = int(${$attributes->{'slot'}}[0]);
$atthash{side} = int(${$attributes->{'slot'}}[0]);
$atthash{ip} = ${$attributes->{'ipv4-address'}}[0];
$atthash{mac} = $rsp;
$atthash{mname} = ${$attributes->{'mm-name'}}[0];