9
0
Fork 0

m3ua: Send data on stream != 0

RFC4666:
 The DATA message MUST NOT be sent on stream 0
This commit is contained in:
Holger Hans Peter Freyther 2015-03-24 21:14:18 +01:00
parent 316168249f
commit 71477e1342
1 changed files with 1 additions and 1 deletions

View File

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