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.
This commit is contained in:
Michael Tuexen 2011-06-17 07:06:42 +00:00
parent 13aae0bf1d
commit bb2c20c1a8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=223180

View File

@ -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;
}