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/branches/2.7@14245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2012-11-05 14:56:23 +00:00
parent c1bf69de94
commit 72c0326c2e

View File

@ -815,6 +815,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...