mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
refine error message when session setup fails
This commit is contained in:
parent
59b1d83751
commit
9c87f801a4
@ -1060,13 +1060,10 @@ ipmi_lan_activate_session(struct ipmi_intf * intf)
|
||||
if (rc < 0)
|
||||
goto fail;
|
||||
|
||||
/* channel 0xE will query current channel */
|
||||
// ipmi_get_channel_info(intf, IPMI_LAN_CHANNEL_E);
|
||||
|
||||
return 0;
|
||||
|
||||
fail:
|
||||
printf("Unable to connect to IPMI-over-LAN host\n");
|
||||
printf("Error: Unable to establish LAN session\n");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user