changeset 338:be43a4344cf9

sctp_adaptation_layer_event not supported on some platform, and this code was not needed anyway. Reported by Chris Brody.
author Sebastien Decugis <sdecugis@nict.go.jp>
date Wed, 01 Apr 2009 11:17:11 +0900
parents c53934b11609
children 2b62cd08cf02
files waaad/peer-sctp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/waaad/peer-sctp.c	Wed Apr 01 11:15:06 2009 +0900
+++ b/waaad/peer-sctp.c	Wed Apr 01 11:17:11 2009 +0900
@@ -69,13 +69,13 @@
 
 		memset(&event, 0, sizeof(event));
 		event.sctp_data_io_event	= 1;	/* to receive the stream ID in SCTP_SNDRCV ancilliary data on message reception */
-		event.sctp_association_event	= 0;	/* new or closed assotiations (mostly for one-to-many style sockets) */
+		event.sctp_association_event	= 0;	/* new or closed associations (mostly for one-to-many style sockets) */
 		event.sctp_address_event	= 1;	/* address changes */
 		event.sctp_send_failure_event	= 1;	/* delivery failures */
 		event.sctp_peer_error_event	= 1;	/* remote peer sends an error */
 		event.sctp_shutdown_event	= 1;	/* peer has sent a SHUTDOWN */
 		event.sctp_partial_delivery_event = 1;	/* a partial delivery is aborted, probably indicating the connection is being shutdown */
-		event.sctp_adaptation_layer_event = 0;	/* adaptation layer notifications */
+		// event.sctp_adaptation_layer_event = 0;	/* adaptation layer notifications */
 		// event.sctp_authentication_event = 0;	/* when new key is made active */
 
 		/* Set the option to the socket */
"Welcome to our mercurial repository"