mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 10:37:22 +00:00
ID:391 - changing data_len from 17 to 16 according to ipmi spec 22.29, first byte is completion code
This commit is contained in:
parent
a98eedb272
commit
3412d86143
@ -123,7 +123,7 @@ _ipmi_get_user_name(struct ipmi_intf *intf, struct user_name_t *user_name_ptr)
|
||||
return (-1);
|
||||
} else if (rsp->ccode > 0) {
|
||||
return rsp->ccode;
|
||||
} else if (rsp->data_len != 17) {
|
||||
} else if (rsp->data_len != 16) {
|
||||
return (-2);
|
||||
}
|
||||
memset(user_name_ptr->user_name, '\0', 17);
|
||||
|
Loading…
x
Reference in New Issue
Block a user