From 72c0326c2ecfd402072a732c3f9b1466a2bb86f9 Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Mon, 5 Nov 2012 14:56:23 +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/branches/2.7@14245 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 c24935027..f775c755c 100644 --- a/xCAT-server/lib/perl/xCAT/IPMI.pm +++ b/xCAT-server/lib/perl/xCAT/IPMI.pm @@ -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...