ID: 295 - inform user if SOL session disconnected

Currently if we are connected to ipmitool sol session and if service processor
goes down due to reset/reload, then user has no way to know that sol session has
been disconnected. Commit aims to fix such case.

Patch-by: Mamatha Inamdar
This commit is contained in:
Zdenek Styblik 2014-03-23 07:58:11 +01:00
parent 250eb15f92
commit cab450a052

View File

@ -1503,7 +1503,7 @@ static int
ipmi_sol_keepalive_using_getdeviceid(struct ipmi_intf * intf) ipmi_sol_keepalive_using_getdeviceid(struct ipmi_intf * intf)
{ {
struct timeval end; struct timeval end;
int ret = 0; static int ret = 0;
if (_disable_keepalive) if (_disable_keepalive)
return 0; return 0;