From 3bd2da3f30b7c9865079a72a9f38e2cd572feffd Mon Sep 17 00:00:00 2001 From: tuexen Date: Fri, 17 Jun 2011 07:06:42 +0000 Subject: [PATCH] Add SCTP_MAX_BURST support to sctp_opt_info(). This only applies to 9.0 and higher, since the type of the values has changed since we introduced it. So it can't be MFCed. --- lib/libc/net/sctp_sys_calls.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/libc/net/sctp_sys_calls.c b/lib/libc/net/sctp_sys_calls.c index a97fe9668129..27664bc51c29 100644 --- a/lib/libc/net/sctp_sys_calls.c +++ b/lib/libc/net/sctp_sys_calls.c @@ -410,6 +410,9 @@ sctp_opt_info(int sd, sctp_assoc_t id, int opt, void *arg, socklen_t * size) case SCTP_DEFAULT_PRINFO: ((struct sctp_default_prinfo *)arg)->pr_assoc_id = id; break; + case SCTP_MAX_BURST: + ((struct sctp_assoc_value *)arg)->assoc_id = id; + break; default: break; }