2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-28 21:17:54 +00:00

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)
This commit is contained in:
Andreas Gustafsson 2000-02-07 18:59:39 +00:00
parent e55b792a68
commit e46ff30aec

View File

@ -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));