Module Name: src
Committed By: kardel
Date: Sun Aug 29 18:54:30 UTC 2010
Modified Files:
src/external/bsd/ntp/dist/ntpd: ntp_intres.c
Log Message:
make IPV6 support decision consistent with code in ntp_io.c
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/ntp/dist/ntpd/ntp_intres.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/ntp/dist/ntpd/ntp_intres.c
diff -u src/external/bsd/ntp/dist/ntpd/ntp_intres.c:1.1.1.1 src/external/bsd/ntp/dist/ntpd/ntp_intres.c:1.2
--- src/external/bsd/ntp/dist/ntpd/ntp_intres.c:1.1.1.1 Sun Dec 13 16:55:34 2009
+++ src/external/bsd/ntp/dist/ntpd/ntp_intres.c Sun Aug 29 18:54:30 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: ntp_intres.c,v 1.1.1.1 2009/12/13 16:55:34 kardel Exp $ */
+/* $NetBSD: ntp_intres.c,v 1.2 2010/08/29 18:54:30 kardel Exp $ */
/*
* ripped off from ../ntpres/ntpres.c by Greg Troxel 4/2/92
@@ -472,7 +472,7 @@
ce = emalloc(sizeof(*ce));
ce->ce_name = estrdup(name);
ce->ce_peeraddr = 0;
-#ifdef ISC_PLATFORM_HAVEIPV6
+#ifdef INCLUDE_IPV6_SUPPORT
ce->ce_peeraddr6 = in6addr_any;
#endif
ZERO_SOCK(&ce->peer_store);