mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-07-03 18:51:42 +00:00
not closing session after chassis power control can be bad for session management on the bmc
This commit is contained in:
@@ -113,8 +113,10 @@ ipmi_chassis_power_control(struct ipmi_intf * intf, uint8_t ctl)
|
|||||||
printf("Chassis Power Control: %s\n",
|
printf("Chassis Power Control: %s\n",
|
||||||
val2str(ctl, ipmi_chassis_power_control_vals));
|
val2str(ctl, ipmi_chassis_power_control_vals));
|
||||||
|
|
||||||
|
#if 0 /* this can cause sessions to hang around after power commands */
|
||||||
/* sessions often get lost when changing chassis power */
|
/* sessions often get lost when changing chassis power */
|
||||||
intf->abort = 1;
|
intf->abort = 1;
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user