svn commit: r223180 - head/lib/libc/net

Michael Tuexen tuexen at FreeBSD.org
Fri Jun 17 07:06:42 UTC 2011


Author: tuexen
Date: Fri Jun 17 07:06:42 2011
New Revision: 223180
URL: http://svn.freebsd.org/changeset/base/223180

Log:
  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.

Modified:
  head/lib/libc/net/sctp_sys_calls.c

Modified: head/lib/libc/net/sctp_sys_calls.c
==============================================================================
--- head/lib/libc/net/sctp_sys_calls.c	Fri Jun 17 07:05:47 2011	(r223179)
+++ head/lib/libc/net/sctp_sys_calls.c	Fri Jun 17 07:06:42 2011	(r223180)
@@ -410,6 +410,9 @@ sctp_opt_info(int sd, sctp_assoc_t id, i
 	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;
 	}


More information about the svn-src-head mailing list