Fix a bug where SCTP_ENABLE_STREAM_RESET is not handled by
sctp_opt_info(). MFC after: 3 days
This commit is contained in:
parent
5163701c22
commit
7c9b649294
@ -338,6 +338,9 @@ sctp_opt_info(int sd, sctp_assoc_t id, int opt, void *arg, socklen_t * size)
|
|||||||
case SCTP_MAX_BURST:
|
case SCTP_MAX_BURST:
|
||||||
((struct sctp_assoc_value *)arg)->assoc_id = id;
|
((struct sctp_assoc_value *)arg)->assoc_id = id;
|
||||||
break;
|
break;
|
||||||
|
case SCTP_ENABLE_STREAM_RESET:
|
||||||
|
((struct sctp_assoc_value *)arg)->assoc_id = id;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user