mirror of
https://github.com/ipmitool/ipmitool.git
synced 2026-01-22 14:22:19 +08:00
not closing session after chassis power control can be bad for session management on the bmc
This commit is contained in:
parent
6ab2eb972e
commit
53c97bc5b4
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user