From 6464143589c9d290b07296f0cbefe548719095d5 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Sun, 4 Nov 2012 17:25:25 +0000 Subject: [PATCH] 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 --- xCAT-server/lib/perl/xCAT/IPMI.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xCAT-server/lib/perl/xCAT/IPMI.pm b/xCAT-server/lib/perl/xCAT/IPMI.pm index 812aa94e2..59b930cf4 100644 --- a/xCAT-server/lib/perl/xCAT/IPMI.pm +++ b/xCAT-server/lib/perl/xCAT/IPMI.pm @@ -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...