mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-01-21 16:42:19 +08: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.1 MiB
IPMITOOL_1_8_19
Latest
Languages
C
95.7%
Shell
2%
Makefile
1.3%
M4
1%