mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Per request from fujitsu-siemens, don't pad username in RAKP1 message
This commit is contained in:
parent
247ad8f661
commit
bc17282c3a
@ -2765,9 +2765,9 @@ ipmi_lanplus_rakp1(struct ipmi_intf * intf)
|
||||
}
|
||||
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_length =
|
||||
IPMI_RAKP1_MESSAGE_SIZE - (16 - msg[27]);
|
||||
v2_payload.payload.rakp_1_message.message = msg;
|
||||
|
||||
rsp = ipmi_lanplus_send_payload(intf, &v2_payload);
|
||||
|
Loading…
x
Reference in New Issue
Block a user