mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Update the list of supported socket options for sctp_opt_info().
MFC after: 1 month.
This commit is contained in:
parent
b66e74b695
commit
13aae0bf1d
1 changed files with 6 additions and 3 deletions
|
|
@ -365,9 +365,6 @@ sctp_opt_info(int sd, sctp_assoc_t id, int opt, void *arg, socklen_t * size)
|
|||
case SCTP_DEFAULT_SEND_PARAM:
|
||||
((struct sctp_assocparams *)arg)->sasoc_assoc_id = id;
|
||||
break;
|
||||
case SCTP_SET_PEER_PRIMARY_ADDR:
|
||||
((struct sctp_setpeerprim *)arg)->sspp_assoc_id = id;
|
||||
break;
|
||||
case SCTP_PRIMARY_ADDR:
|
||||
((struct sctp_setprim *)arg)->ssp_assoc_id = id;
|
||||
break;
|
||||
|
|
@ -407,6 +404,12 @@ sctp_opt_info(int sd, sctp_assoc_t id, int opt, void *arg, socklen_t * size)
|
|||
case SCTP_EVENT:
|
||||
((struct sctp_event *)arg)->se_assoc_id = id;
|
||||
break;
|
||||
case SCTP_DEFAULT_SNDINFO:
|
||||
((struct sctp_sndinfo *)arg)->snd_assoc_id = id;
|
||||
break;
|
||||
case SCTP_DEFAULT_PRINFO:
|
||||
((struct sctp_default_prinfo *)arg)->pr_assoc_id = id;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue