NMBS_ERROR_INVALID_TCP_MBAP on invalid transaction ID
This commit is contained in:
parent
037de71d9b
commit
10b9a0c13b
@ -347,7 +347,7 @@ static nmbs_error recv_res_header(nmbs_t* nmbs) {
|
|||||||
|
|
||||||
if (nmbs->platform.transport == NMBS_TRANSPORT_TCP) {
|
if (nmbs->platform.transport == NMBS_TRANSPORT_TCP) {
|
||||||
if (nmbs->msg.transaction_id != req_transaction_id)
|
if (nmbs->msg.transaction_id != req_transaction_id)
|
||||||
return NMBS_ERROR_INVALID_RESPONSE;
|
return NMBS_ERROR_INVALID_TCP_MBAP;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nmbs->msg.unit_id != req_unit_id)
|
if (nmbs->msg.unit_id != req_unit_id)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user