mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
- Fix a bug where the retry-count parameters was 'anded' with 0x03 instead of 0x07
See IPMI specification 2.0 rev 1.0 markup june 2004 table 26-5 parameters 4
This commit is contained in:
parent
77275ab616
commit
a15d6a31ac
@ -769,7 +769,7 @@ ipmi_sol_set_param(struct ipmi_intf * intf,
|
||||
|
||||
req.msg.data_len = 4;
|
||||
data[1] = SOL_PARAMETER_SOL_RETRY;
|
||||
data[2] = (uint8_t)strtol(value, NULL, 0) & 0x03;
|
||||
data[2] = (uint8_t)strtol(value, NULL, 0) & 0x07;
|
||||
|
||||
/* We need other values to complete the request */
|
||||
if (ipmi_get_sol_info(intf, channel, ¶ms))
|
||||
|
Loading…
x
Reference in New Issue
Block a user