mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-06-03 20:51:36 +00:00
mc: watchdog set: Fix intr setting
The previous commit contained a bug due to which the `intr` option value was never passed to the BMC.
This commit is contained in:
@@ -890,7 +890,7 @@ ipmi_mc_set_watchdog(struct ipmi_intf * intf, int argc, char *argv[])
|
||||
msg_data[0] |= use & IPMI_WDT_USE_MASK;
|
||||
|
||||
msg_data[1] = (intr & IPMI_WDT_INTR_MASK) << IPMI_WDT_INTR_SHIFT;
|
||||
msg_data[1] = action & IPMI_WDT_ACTION_MASK;
|
||||
msg_data[1] |= action & IPMI_WDT_ACTION_MASK;
|
||||
|
||||
msg_data[2] = pretimeout;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user