From: Jean-Michel A. <au...@us...> - 2006-04-21 16:34:37
|
Update of /cvsroot/ipmitool/ipmitool/src/plugins/lanplus In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30364/src/plugins/lanplus Modified Files: lanplus.c Log Message: Fix compiling error Index: lanplus.c =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/src/plugins/lanplus/lanplus.c,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** lanplus.c 19 Mar 2006 20:54:44 -0000 1.49 --- lanplus.c 21 Apr 2006 16:34:30 -0000 1.50 *************** *** 2457,2468 **** struct ipmi_rs * rsp = ipmi_lan_poll_recv(intf); ! ack_sol_packet(intf, rsp); ! ! /* ! * Remembers the data sent, and alters the data to just ! * include the new stuff. ! */ ! check_sol_packet_for_new_data(intf, rsp); return rsp; } --- 2457,2470 ---- struct ipmi_rs * rsp = ipmi_lan_poll_recv(intf); ! if(rsp->session.authtype != 0) ! { ! ack_sol_packet(intf, rsp); + /* + * Remembers the data sent, and alters the data to just + * include the new stuff. + */ + check_sol_packet_for_new_data(intf, rsp); + } return rsp; } |