mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +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:
parent
e55b792a68
commit
e46ff30aec
@ -195,7 +195,7 @@ internal_current(isc_interfaceiter_t *iter) {
|
|||||||
memcpy(&lifreq, ifrp, sizeof lifreq);
|
memcpy(&lifreq, ifrp, sizeof lifreq);
|
||||||
|
|
||||||
family = lifreq.lifr_addr.ss_family;
|
family = lifreq.lifr_addr.ss_family;
|
||||||
if (family != AF_INET && family != AF_INET6)
|
if (family != AF_INET)
|
||||||
return (ISC_R_IGNORE);
|
return (ISC_R_IGNORE);
|
||||||
|
|
||||||
memset(&iter->current, 0, sizeof(iter->current));
|
memset(&iter->current, 0, sizeof(iter->current));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user