From: Jeremy E. <zol...@us...> - 2005-02-10 17:15:57
|
Update of /cvsroot/ipmitool/ipmitool/src/plugins/lanplus In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20573 Modified Files: lanplus.c Log Message: Per request from fujitsu-siemens, don't pad username in RAKP1 message Index: lanplus.c =================================================================== RCS file: /cvsroot/ipmitool/ipmitool/src/plugins/lanplus/lanplus.c,v retrieving revision 1.28 retrieving revision 1.29 diff -C2 -d -r1.28 -r1.29 *** lanplus.c 9 Feb 2005 19:29:19 -0000 1.28 --- lanplus.c 10 Feb 2005 17:15:48 -0000 1.29 *************** *** 2766,2772 **** memcpy(msg + 28, session->username, msg[27]); - v2_payload.payload_type = IPMI_PAYLOAD_TYPE_RAKP_1; ! v2_payload.payload_length = IPMI_RAKP1_MESSAGE_SIZE; v2_payload.payload.rakp_1_message.message = msg; --- 2766,2772 ---- memcpy(msg + 28, session->username, msg[27]); v2_payload.payload_type = IPMI_PAYLOAD_TYPE_RAKP_1; ! v2_payload.payload_length = ! IPMI_RAKP1_MESSAGE_SIZE - (16 - msg[27]); v2_payload.payload.rakp_1_message.message = msg; |