[Git][NTPsec/ntpsec][master] Fixed GitLab issue #119: ntpdig does not understand IPv6.

Eric S. Raymond gitlab at mg.gitlab.com
Sun Oct 2 18:23:10 UTC 2016


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
3be6e253 by Eric S. Raymond at 2016-10-02T14:22:55-04:00
Fixed GitLab issue #119: ntpdig does not understand IPv6.

- - - - -


1 changed file:

- ntpdig/main.c


Changes:

=====================================
ntpdig/main.c
=====================================
--- a/ntpdig/main.c
+++ b/ntpdig/main.c
@@ -345,7 +345,7 @@ ntpdig_main (
 	response_tv.tv_nsec = (response_timeout - (int)response_timeout) * NANOSECONDS;
 
 	/* IPv6 available? */
-	if (isc_net_probeipv6_bool()) {
+	if (!isc_net_probeipv6_bool()) {
 		ai_fam_pref = AF_INET;
 		TRACE(1, ("No ipv6 support available, forcing ipv4\n"));
 	} else {



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/3be6e25341cc697d6a4f066f9d179cda020dbf3b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20161002/80273965/attachment.html>


More information about the vc mailing list