currently if we are connected to ipmitool sol session and if service processor 
goes down  due to reset/realod
then user has no way to know that sol session has been disconnected, 

This patch will enable the option to inform user if sol session is disconnected 
from service processor.

Signed-off-by: Mamatha Inamdar <mamat...@linux.vnet.ibm.com>
---
 lib/ipmi_sol.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;


------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel

Reply via email to