9
0
Fork 0

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:
Holger Hans Peter Freyther 2013-06-28 19:35:30 +02:00
parent fa48639adf
commit b5f89891bf
1 changed files with 1 additions and 0 deletions

View File

@ -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);