mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-07-04 03:33:36 +00:00
ID#277 - support for hostnames longer than 64 chars
ID#313 ipmitool doesn't support hostname long than 64 symbols ID#277 Minor issue with ipmi_intf_session_set_hostname() Commit adds support pretty much for FQDN not just up to the length of one label. This is achieved by change in in struct ipmi_session; and strdup() of user input. Of course, we have to free() this once we're done.
This commit is contained in:
@ -305,12 +305,7 @@ serial_bm_close(struct ipmi_intf * intf)
|
||||
close(intf->fd);
|
||||
intf->fd = -1;
|
||||
}
|
||||
|
||||
if (intf->session) {
|
||||
free(intf->session);
|
||||
intf->session = NULL;
|
||||
}
|
||||
|
||||
ipmi_intf_session_cleanup(intf);
|
||||
intf->opened = 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user