Have IPMI.pm explicitly not expect cmd netfn after receiveng cmd/netfn response

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-11-04 17:25:25 +00:00
parent 5a68f84799
commit 6464143589

View File

@ -830,6 +830,9 @@ sub parse_ipmi_payload {
#hexdump(@payload);
return 1; #response mismatch
}
#set to impossible values to reflect the fact we expect *no* command/nnetfn at the moment
$self->{expectednetfn}=0x1ff;
$self->{expectedcmd}=0x1ff;
$self->{seqlun} += 4; #increment by 1<<2
if ($self->{seqlun} > 0xff) { #overflow case
#Problem with rqaddr iteration strategy to get more sequence numbers, changing swid invalidates reservation ids for some BMCs...