From e46ff30aeca6f4b11f005c2bd43bd066c27a06e2 Mon Sep 17 00:00:00 2001 From: Andreas Gustafsson Date: Mon, 7 Feb 2000 18:59:39 +0000 Subject: [PATCH] ignore IPv6 interfaces before attempting to get their flags; they are ignored by named anyway, and getting their flags seems to fail on Solaris 8ea (RT #16) --- lib/isc/unix/ifiter_ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/isc/unix/ifiter_ioctl.c b/lib/isc/unix/ifiter_ioctl.c index dbbe5ec0f5..6ea3e0c985 100644 --- a/lib/isc/unix/ifiter_ioctl.c +++ b/lib/isc/unix/ifiter_ioctl.c @@ -195,7 +195,7 @@ internal_current(isc_interfaceiter_t *iter) { memcpy(&lifreq, ifrp, sizeof lifreq); family = lifreq.lifr_addr.ss_family; - if (family != AF_INET && family != AF_INET6) + if (family != AF_INET) return (ISC_R_IGNORE); memset(&iter->current, 0, sizeof(iter->current));