1759. [bug] Named failed to startup if the OS supported IPv6

but had no IPv6 interfaces configured. [RT #12942]
This commit is contained in:
Mark Andrews 2004-11-10 22:13:48 +00:00
parent 14720abb0f
commit 39e15bfaae
2 changed files with 6 additions and 2 deletions

View file

@ -5,6 +5,9 @@
1760. [bug] Host / net unreachable was not penalising rtt
estimates. [RT #12970]
1759. [bug] Named failed to startup if the OS supported IPv6
but had no IPv6 interfaces configured. [RT #12942]
1757. [func] host now can turn on memory debugging flags with '-m'.
1756. [func] named-checkconf now checks the logging configuration.

View file

@ -15,7 +15,7 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: server.c,v 1.419.18.13 2004/10/21 00:56:45 marka Exp $ */
/* $Id: server.c,v 1.419.18.14 2004/11/10 22:13:48 marka Exp $ */
#include <config.h>
@ -1920,7 +1920,8 @@ adjust_interfaces(ns_server_t *server, isc_mem_t *mctx) {
dns_dispatch_t *dispatch6;
dispatch6 = dns_resolver_dispatchv6(view->resolver);
INSIST(dispatch6 != NULL);
if (dispatch6 == NULL)
continue;
result = dns_dispatch_getlocaladdress(dispatch6, &addr);
if (result != ISC_R_SUCCESS)
goto fail;