Browse code

sctp: minor spelling & comments changes

Andrei Pelinescu-Onciul authored on 07/11/2008 14:52:40
Showing 1 changed files
... ...
@@ -309,9 +309,9 @@ static int sctp_init_sock_opt_common(int s)
309 309
 	es.sctp_association_event=1; /* SCTP_ASSOC_CHANGE */
310 310
 	es.sctp_address_event=1;  /* enable address events notifications */
311 311
 	es.sctp_send_failure_event=1; /* SCTP_SEND_FAILED */
312
-	es.sctp_peer_error_event=1;
313
-	es.sctp_shutdown_event=1;
314
-	es.sctp_partial_delivery_event=1;
312
+	es.sctp_peer_error_event=1;   /* SCTP_REMOTE_ERROR */
313
+	es.sctp_shutdown_event=1;     /* SCTP_SHUTDOWN_EVENT */
314
+	es.sctp_partial_delivery_event=1; /* SCTP_PARTIAL_DELIVERY_EVENT */
315 315
 	/* es.sctp_adaptation_layer_event=1; - not supported by lksctp<=1.0.6*/
316 316
 	/* es.sctp_authentication_event=1; -- not supported on linux 2.6.25 */
317 317
 	
... ...
@@ -530,7 +530,7 @@ static char* sctp_assoc_change_state2s(short int state)
530 530
 			s="SCTP_CANT_STR_ASSOC";
531 531
 			break;
532 532
 		default:
533
-			s="UNKOWN";
533
+			s="UNKNOWN";
534 534
 			break;
535 535
 	};
536 536
 	return s;