Fix a bug where SCTP_ENABLE_STREAM_RESET is not handled by

sctp_opt_info().

MFC after: 3 days
This commit is contained in:
Michael Tuexen 2013-07-09 19:04:19 +00:00
parent 5163701c22
commit 7c9b649294

View File

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