summaryrefslogtreecommitdiffstats
path: root/lib/libc/net
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2013-07-09 19:04:19 +0000
committertuexen <tuexen@FreeBSD.org>2013-07-09 19:04:19 +0000
commite20c3d7ebbf02da4feacb8eabcf0ea2dc2388844 (patch)
tree781127e99a19bcd875ebf639b79b75c212bcc19c /lib/libc/net
parent12ff61235267324402bc7f030cc2ad2800cbf730 (diff)
downloadFreeBSD-src-e20c3d7ebbf02da4feacb8eabcf0ea2dc2388844.zip
FreeBSD-src-e20c3d7ebbf02da4feacb8eabcf0ea2dc2388844.tar.gz
Fix a bug where SCTP_ENABLE_STREAM_RESET is not handled by
sctp_opt_info(). MFC after: 3 days
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 6b938a4..3a4571f 100644
--- a/lib/libc/net/sctp_sys_calls.c
+++ b/lib/libc/net/sctp_sys_calls.c
@@ -338,6 +338,9 @@ sctp_opt_info(int sd, sctp_assoc_t id, int opt, void *arg, socklen_t * size)
case SCTP_MAX_BURST:
((struct sctp_assoc_value *)arg)->assoc_id = id;
break;
+ case SCTP_ENABLE_STREAM_RESET:
+ ((struct sctp_assoc_value *)arg)->assoc_id = id;
+ break;
default:
break;
}
OpenPOWER on IntegriCloud