[svn] commit: r196 - /branches/f2f200910/src/bin/msgq/msgq.c

BIND 10 source code commits bind10-changes at lists.isc.org
Thu Oct 29 22:28:58 UTC 2009


Author: shane
Date: Thu Oct 29 22:28:58 2009
New Revision: 196

Log:
Turn on REUSEADDRESS (only useful for debugging, but still...)


Modified:
    branches/f2f200910/src/bin/msgq/msgq.c

Modified: branches/f2f200910/src/bin/msgq/msgq.c
==============================================================================
--- branches/f2f200910/src/bin/msgq/msgq.c (original)
+++ branches/f2f200910/src/bin/msgq/msgq.c Thu Oct 29 22:28:58 2009
@@ -1145,7 +1145,7 @@
 						PF_INET, isc_sockettype_tcp,
 						&sock) == ISC_R_SUCCESS);
 		RUNTIME_CHECK(sock != NULL);
-		result = isc_socket_bind(sock, &sa, 0);
+		result = isc_socket_bind(sock, &sa, ISC_SOCKET_REUSEADDRESS);
 		RUNTIME_CHECK(result == ISC_R_SUCCESS);
 
 		RUNTIME_CHECK(isc_socket_listen(sock, 0) == ISC_R_SUCCESS);




More information about the bind10-changes mailing list