diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-06-28 19:35:30 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-06-28 19:35:30 +0200 |
commit | b5f89891bf7c2c92aa5972da880efe90bc31b8c5 (patch) | |
tree | d3fec667bcc8fe89af9527f2b9754d359b426824 | |
parent | fa48639adfd16c84a716bae710b619f5ac2d501d (diff) |
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.
-rw-r--r-- | src/sctp_m2ua.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sctp_m2ua.c b/src/sctp_m2ua.c index fb797b7..dfe9271 100644 --- a/src/sctp_m2ua.c +++ b/src/sctp_m2ua.c @@ -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); |