]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 432] in6addr_any cleanup
authorHarlan Stenn <stenn@ntp.org>
Wed, 25 May 2005 09:43:34 +0000 (05:43 -0400)
committerHarlan Stenn <stenn@ntp.org>
Wed, 25 May 2005 09:43:34 +0000 (05:43 -0400)
bk: 429448c6oX7URiVMnmCV2UcDkzEQYA

libisc/sockaddr.c

index 6929252a16b8b271f7434568ec132ace2b41767d..8f27d9d20b79b3f998cb254f4872d2167fec0f0a 100644 (file)
@@ -259,6 +259,7 @@ isc_sockaddr_any(isc_sockaddr_t *sockaddr)
        ISC_LINK_INIT(sockaddr, link);
 }
 
+#ifdef ISC_PLATFORM_HAVEIPV6
 void
 isc_sockaddr_any6(isc_sockaddr_t *sockaddr)
 {
@@ -272,6 +273,7 @@ isc_sockaddr_any6(isc_sockaddr_t *sockaddr)
        sockaddr->length = sizeof(sockaddr->type.sin6);
        ISC_LINK_INIT(sockaddr, link);
 }
+#endif
 
 void
 isc_sockaddr_fromin(isc_sockaddr_t *sockaddr, const struct in_addr *ina,