Browse code

sctp: core.sctp_options shows now also sctp_max_assocs

Andrei Pelinescu-Onciul authored on 26/06/2009 17:57:06
Showing 1 changed files
... ...
@@ -613,7 +613,7 @@ static void core_sctp_options(rpc_t* rpc, void* c)
613 613
 	if (!sctp_disable){
614 614
 		sctp_options_get(&t);
615 615
 		rpc->add(c, "{", &handle);
616
-		rpc->struct_add(handle, "dddddddddddddddddd",
616
+		rpc->struct_add(handle, "ddddddddddddddddddd",
617 617
 			"sctp_socket_rcvbuf",	t.so_rcvbuf,
618 618
 			"sctp_socket_sndbuf",	t.so_sndbuf,
619 619
 			"sctp_autoclose",		t.autoclose,
... ...
@@ -621,6 +621,7 @@ static void core_sctp_options(rpc_t* rpc, void* c)
621 621
 			"sctp_send_retries",	t.send_retries,
622 622
 			"sctp_assoc_tracking",	t.assoc_tracking,
623 623
 			"sctp_assoc_reuse",	t.assoc_reuse,
624
+			"sctp_max_assocs", t.max_assocs,
624 625
 			"sctp_srto_initial",	t.srto_initial,
625 626
 			"sctp_srto_max",		t.srto_max,
626 627
 			"sctp_srto_min",		t.srto_min,