diff options
author | Zdenek Styblik <stybla@turnovfree.net> | 2014-03-23 07:58:11 +0100 |
---|---|---|
committer | Zdenek Styblik <stybla@turnovfree.net> | 2014-03-23 07:58:11 +0100 |
commit | cab450a0529f5d934840686683976b7ff916ff15 (patch) | |
tree | b324c98a9cb581a3d082ba64c3f8d92ece5659f9 | |
parent | 250eb15f92e1bd6c554e82d5d467e8aa8c19c449 (diff) | |
download | ipmitool-cab450a0529f5d934840686683976b7ff916ff15.tar.gz |
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
-rw-r--r-- | lib/ipmi_sol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ipmi_sol.c b/lib/ipmi_sol.c index 4b829fc..6a02e91 100644 --- a/lib/ipmi_sol.c +++ b/lib/ipmi_sol.c @@ -1503,7 +1503,7 @@ static int ipmi_sol_keepalive_using_getdeviceid(struct ipmi_intf * intf) { struct timeval end; - int ret = 0; + static int ret = 0; if (_disable_keepalive) return 0; |