From a15d6a31acbc6849c2def896a94f557b31ba30dd Mon Sep 17 00:00:00 2001 From: Jean-Michel Audet Date: Fri, 9 Sep 2005 17:09:50 +0000 Subject: [PATCH] - 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 --- ipmitool/lib/ipmi_sol.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipmitool/lib/ipmi_sol.c b/ipmitool/lib/ipmi_sol.c index 5521281..0c08070 100644 --- a/ipmitool/lib/ipmi_sol.c +++ b/ipmitool/lib/ipmi_sol.c @@ -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))