]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 432] More in6addr_any cleanup
authorHarlan Stenn <stenn@ntp.org>
Fri, 27 May 2005 00:51:10 +0000 (20:51 -0400)
committerHarlan Stenn <stenn@ntp.org>
Fri, 27 May 2005 00:51:10 +0000 (20:51 -0400)
bk: 42966efe-yD_IE9wjDPBdTEWifxVWA

libisc/ifiter_ioctl.c

index c8748907bc28a38bf4b4a795ecc9bba4eb931c06..9bb07baf6d169c6d866d72364a23c3ede983683e 100644 (file)
@@ -780,11 +780,13 @@ internal_current6(isc_interfaceiter_t *iter) {
                if (iter->current.address.type.in.s_addr == htonl(INADDR_ANY))
                        return (ISC_R_IGNORE);
                break;
+#ifdef ISC_PLATFORM_HAVEIPV6
        case AF_INET6:
                if (memcmp(&iter->current.address.type.in6, &in6addr_any,
                           sizeof(in6addr_any)) == 0)
                        return (ISC_R_IGNORE);
                break;
+#endif
        }
 
        /*