diff options
author | tuexen <tuexen@FreeBSD.org> | 2016-12-18 13:05:42 +0000 |
---|---|---|
committer | tuexen <tuexen@FreeBSD.org> | 2016-12-18 13:05:42 +0000 |
commit | 8e3d6eae2b43b2fab940ba0c7bda2b8edf6e0d58 (patch) | |
tree | a19408ad269f5b57209d9b28f71d31c62459b43e /lib | |
parent | 22aded0803f3b3a0310198e57e118b4221336e0e (diff) | |
download | FreeBSD-src-8e3d6eae2b43b2fab940ba0c7bda2b8edf6e0d58.zip FreeBSD-src-8e3d6eae2b43b2fab940ba0c7bda2b8edf6e0d58.tar.gz |
MFC r309683:
Fix a bug in sctp_sendmsgx(), where the sid provided by the user
was hot honored.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/sctp_sys_calls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/sctp_sys_calls.c b/lib/libc/net/sctp_sys_calls.c index dcbcee7..25b9ec8 100644 --- a/lib/libc/net/sctp_sys_calls.c +++ b/lib/libc/net/sctp_sys_calls.c @@ -797,7 +797,7 @@ sctp_sendmsgx(int sd, memset((void *)&sinfo, 0, sizeof(struct sctp_sndrcvinfo)); sinfo.sinfo_ppid = ppid; sinfo.sinfo_flags = flags; - sinfo.sinfo_ssn = stream_no; + sinfo.sinfo_stream = stream_no; sinfo.sinfo_timetolive = timetolive; sinfo.sinfo_context = context; return (sctp_sendx(sd, msg, len, addrs, addrcnt, &sinfo, 0)); |