sctp_m2ua: Fix the byte order of the request flag for the StateConf
The ASP has not been looking at this value at all, fix the byte order. On the other hand my ASP doesn't care about this either.
This commit is contained in:
parent
fa48639adf
commit
b5f89891bf
|
@ -326,6 +326,7 @@ static int m2ua_handle_state_req(struct mtp_m2ua_link *link,
|
|||
return -1;
|
||||
|
||||
index = htonl(link->link_index);
|
||||
req = htonl(req);
|
||||
conf->hdr.msg_class = M2UA_CLS_MAUP;
|
||||
conf->hdr.msg_type = M2UA_MAUP_STATE_CON;
|
||||
m2ua_msg_add_data(conf, MUA_TAG_IDENT_INT, 4, (uint8_t *) &index);
|
||||
|
|
Reference in New Issue