summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authortuexen <tuexen@FreeBSD.org>2011-06-17 07:03:42 +0000
committertuexen <tuexen@FreeBSD.org>2011-06-17 07:03:42 +0000
commitc0c8567b6cd0e9309e2f58371f869ce5c359cfe6 (patch)
tree4b8885481e987ac4c1305d70be3145a0c669baf7 /lib
parent9a592d5289c71dd50bca62023328b3e0cea3a7ad (diff)
downloadFreeBSD-src-c0c8567b6cd0e9309e2f58371f869ce5c359cfe6.zip
FreeBSD-src-c0c8567b6cd0e9309e2f58371f869ce5c359cfe6.tar.gz
Update the list of supported socket options for sctp_opt_info().
MFC after: 1 month.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/sctp_sys_calls.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/libc/net/sctp_sys_calls.c b/lib/libc/net/sctp_sys_calls.c
index ad7b331..a97fe96 100644
--- a/lib/libc/net/sctp_sys_calls.c
+++ b/lib/libc/net/sctp_sys_calls.c
@@ -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;
}
OpenPOWER on IntegriCloud