mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
Retransmission of lanplus request is broken. ipmi_lanplus_send_payload() keeps current timeout in local variable 'timeout' and increases it by one with each retransmission. But ipmi_lan_poll_recv() waits for response for session->timeout seconds, which is not incremented -> the request is retransmitted only once, when timeout and session->timeout equals. No other retransmissions are ever sent. In addition, the time is measured in seconds, therefore 'time(NULL) - ltime' often equals 'timeout' and retransmission should be sent in this case (i.e. 'xmit' should be set). Commit for Jan Safranek
Description
An open-source tool for controlling IPMI-enabled systems
5 MiB
Languages
C
95.7%
Shell
2%
Makefile
1.3%
M4
1%