summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2014-08-04 20:07:35 +0000
committertuexen <tuexen@FreeBSD.org>2014-08-04 20:07:35 +0000
commite7d5338a8e65c54966be29abef1484db617906bc (patch)
treea943ca14889fa90564a6d1f712a78e122a1aaefd /lib/libc
parent203dc5e795f4b986be5839f34c789a17eca1c30f (diff)
downloadFreeBSD-src-e7d5338a8e65c54966be29abef1484db617906bc.zip
FreeBSD-src-e7d5338a8e65c54966be29abef1484db617906bc.tar.gz
Add support for the SCTP_RECONFIG_SUPPORTED and the corresponding
sysctl controlling the negotiation of the RE-CONFIG extension. MFC after: 3 days
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/sctp_sys_calls.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libc/net/sctp_sys_calls.c b/lib/libc/net/sctp_sys_calls.c
index 6fd136e..8e7d709 100644
--- a/lib/libc/net/sctp_sys_calls.c
+++ b/lib/libc/net/sctp_sys_calls.c
@@ -356,6 +356,9 @@ sctp_opt_info(int sd, sctp_assoc_t id, int opt, void *arg, socklen_t * size)
case SCTP_PR_SUPPORTED:
((struct sctp_assoc_value *)arg)->assoc_id = id;
break;
+ case SCTP_RECONFIG_SUPPORTED:
+ ((struct sctp_assoc_value *)arg)->assoc_id = id;
+ break;
case SCTP_NRSACK_SUPPORTED:
((struct sctp_assoc_value *)arg)->assoc_id = id;
break;
OpenPOWER on IntegriCloud