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:
tuexen 2011-06-17 07:06:42 +00:00
parent c0c8567b6c
commit 3bd2da3f30

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