]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 977] Fix mismatching #ifdefs for builds without IPv6
authorHarlan Stenn <stenn@ntp.org>
Thu, 13 Dec 2007 09:55:28 +0000 (04:55 -0500)
committerHarlan Stenn <stenn@ntp.org>
Thu, 13 Dec 2007 09:55:28 +0000 (04:55 -0500)
bk: 47610190yASZpyGUhx2rPzCT6_v5Ag

ChangeLog
libisc/net.c

index e284130de2f8b766914f2416a4341de83a6377bd..12019f9f7e4473f09b414956431b2348ba7bf3b2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
-* [Bug 830] Fix the checking order of the interface options
+* [Bug 977] Fix mismatching #ifdefs for builds without IPv6.
+* [Bug 830] Fix the checking order of the interface options.
 * Clean up the logfile/syslog setup.
 * [Bug 970] Lose obsolete -g flag to ntp-keygen.
 * The -e flag to ntp-keygen can write GQ keys now, too.
index 19ef684bc597200ac7a2eba6f41fd7b61eb3880d..3d4ab66e7123eb9558c8741e206ebbf3f9a6e4eb 100644 (file)
@@ -206,7 +206,6 @@ initialize_ipv6only(void) {
        RUNTIME_CHECK(isc_once_do(&once_ipv6only,
                                  try_ipv6only) == ISC_R_SUCCESS);
 }
-#endif /* IPV6_V6ONLY */
 
 static void
 try_ipv6pktinfo(void) {
@@ -257,6 +256,7 @@ initialize_ipv6pktinfo(void) {
                                  try_ipv6pktinfo) == ISC_R_SUCCESS);
 }
 #endif /* WANT_IPV6 */
+#endif /* ISC_PLATFORM_HAVEIPV6 */
 
 isc_result_t
 isc_net_probe_ipv6only(void) {