From: Zdenek S. <st...@us...> - 2016-06-30 04:32:12
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "ipmitool". The branch, master has been updated via a3bec1d3658c67f366e1f584abcb5d7a4b5fdce6 (commit) from 8bd96591013d5f3b5f109a22581daceda70a4a09 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit a3bec1d3658c67f366e1f584abcb5d7a4b5fdce6 Author: Mamatha Inamdar <mam...@li...> Date: Wed Jun 29 16:52:13 2016 +0530 ID:449 - ipmitool close console session for sol deactivate command In the new version of ipmitool 1.8.15 and above, sol deactivate command was not closing the session, This patch is to fix close console session When we issue sol deactivate command. diff --git a/lib/ipmi_sol.c b/lib/ipmi_sol.c index 333ce90..3acd5bb 100644 --- a/lib/ipmi_sol.c +++ b/lib/ipmi_sol.c @@ -1648,15 +1648,11 @@ ipmi_sol_red_pill(struct ipmi_intf * intf, int instance) else if (FD_ISSET(intf->fd, &read_fds)) { struct ipmi_rs * rs =intf->recv_sol(intf); - if ( rs) - { + if (rs) { output(rs); + } else { + bShouldExit = bBmcClosedSession = 1; } - /* - * Should recv_sol come back null, the incoming packet was not ours. - * Just fall through, the keepalive logic will determine if - * the BMC has dropped the session. - */ } ----------------------------------------------------------------------- Summary of changes: lib/ipmi_sol.c | 10 +++------- 1 files changed, 3 insertions(+), 7 deletions(-) hooks/post-receive -- ipmitool |