aboutsummaryrefslogtreecommitdiffstats
path: root/src/sctp_m3ua_client.c
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-03-24 21:14:18 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-03-24 21:14:18 +0100
commit71477e134214750b6dad8232f993d4843516c8fb (patch)
tree71aedd5ee51cdfd6057cc4bc6614fd6edaa81210 /src/sctp_m3ua_client.c
parent316168249f25e46d802edcfed2461845000a066d (diff)
m3ua: Send data on stream != 0zecke/m3ua
RFC4666: The DATA message MUST NOT be sent on stream 0
Diffstat (limited to 'src/sctp_m3ua_client.c')
-rw-r--r--src/sctp_m3ua_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sctp_m3ua_client.c b/src/sctp_m3ua_client.c
index 972738c..26a63f1 100644
--- a/src/sctp_m3ua_client.c
+++ b/src/sctp_m3ua_client.c
@@ -299,7 +299,7 @@ static int m3ua_write(struct mtp_link *mtp_link, struct msgb *msg)
xua_msg_add_data(m3ua, M3UA_TAG_PROTO_DATA, msg->len, msg->data);
memset(&info, 0, sizeof(info));
- info.sinfo_stream = 0;
+ info.sinfo_stream = 1;
info.sinfo_assoc_id = 1;
info.sinfo_ppid = htonl(SCTP_PPID_M3UA);