mirror of
https://github.com/ipmitool/ipmitool.git
synced 2025-05-10 18:47:22 +00:00
Set rsp->data_len to 0 if there is not response data.
This commit is contained in:
parent
0d72cd27cc
commit
be2c0c4b03
@ -601,6 +601,8 @@ ipmi_lan_poll_recv(struct ipmi_intf * intf)
|
||||
rsp->data_len = extra_data_length;
|
||||
memmove(rsp->data, rsp->data + offset, extra_data_length);
|
||||
}
|
||||
else
|
||||
rsp->data_len = 0;
|
||||
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user