summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2014-08-22 20:16:26 +0000
committertuexen <tuexen@FreeBSD.org>2014-08-22 20:16:26 +0000
commit85630ed213a4dd53b8bb3a51a3824204c1eb417d (patch)
tree5526af1fe69b4080ae54409fd3ebf184cfe305cd /lib/libc/net
parent5a4252e3c473170a493004da8e482390b54ddedd (diff)
downloadFreeBSD-src-85630ed213a4dd53b8bb3a51a3824204c1eb417d.zip
FreeBSD-src-85630ed213a4dd53b8bb3a51a3824204c1eb417d.tar.gz
MFC r269527:
Add support for the SCTP_RECONFIG_SUPPORTED and the corresponding sysctl controlling the negotiation of the RE-CONFIG extension.
Diffstat (limited to 'lib/libc/net')
-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