changeset 478:b65f32c20e6d

Fix for FreeBSD which is less tolerant
author Sebastien Decugis <sdecugis@nict.go.jp>
date Mon, 09 Aug 2010 18:11:02 +0900
parents 4e4ed23028ca
children a186743b89a3
files freeDiameter/tests/testsctp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/freeDiameter/tests/testsctp.c	Mon Aug 09 18:06:09 2010 +0900
+++ b/freeDiameter/tests/testsctp.c	Mon Aug 09 18:11:02 2010 +0900
@@ -85,7 +85,7 @@
 	fd_g_config->cnf_sctp_str = NB_STREAMS;
 	
 	/* Create the server socket */
-	CHECK( 0, fd_sctp_create_bind_server( &sock, AF_INET, &eps, TEST_PORT ));
+	CHECK( 0, fd_sctp_create_bind_server( &sock, AF_INET6, &eps, TEST_PORT ));
 	
 	/* Accept incoming clients */
 	CHECK( 0, fd_sctp_listen( sock ));
"Welcome to our mercurial repository"