Commit 6b12ced9 authored by Shane Kerr's avatar Shane Kerr
Browse files

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



git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@196 e5f2f494-b856-4b98-b285-d166d9295462
parent b15f4f08
......@@ -1145,7 +1145,7 @@ lsock_open(void)
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment