Now, the session is terminated after it is timed out:
$ ipmitool -A MD5 -o intelplus -I lanplus -e [ -P fooey -H quorum1-mc sol activate 1
[SOL Session operational. Use [? for help]
<terminate from other command>
Error sending SOL data: FAIL
SOL session closed by BMC
$
This patch fixes the behaviour:
--- ./ipmitool- 1.8.8/src/ plugins/ lanplus/ lanplus. c 2006-04-21 17:34:30.000000000 +0100 1.8.8-dan/ ipmitool- 1.8.8/src/ plugins/ lanplus/ lanplus. c 2008-05-30 18:12:02.000000000 +0100
+++ ./ipmitool-
@@ -2165,6 +2165,8 @@
rsp = ipmi_lanplus_ recv_sol( intf); /* Grab the next packet */
+ if (!rsp)
+ break;
if (sol_response_ acks_packet( rsp, payload)) poll_recv( intf);
break;
@@ -2456,7 +2458,7 @@
{
struct ipmi_rs * rsp = ipmi_lan_
- if(rsp- >session. authtype != 0) authtype != 0) sol_packet( intf, rsp);
+ if(rsp && rsp->session.
{
ack_
Now, the session is terminated after it is timed out:
$ ipmitool -A MD5 -o intelplus -I lanplus -e [ -P fooey -H quorum1-mc sol activate 1
[SOL Session operational. Use [? for help]
<terminate from other command>
Error sending SOL data: FAIL
SOL session closed by BMC
$
Can someone kick this upstream?