[Git][NTPsec/ntpsec][master] Fix bug introduced by "Remove references to extinct fuzzballs."

Hal Murray gitlab at mg.gitlab.com
Sun Jul 17 10:14:25 UTC 2016


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
9ec4c230 by Hal Murray at 2016-07-17T03:12:14-07:00
Fix bug introduced by "Remove references to extinct fuzzballs."

Refclocks were getting printed as -n.

Looks like the UNUSED branch was saved rather than
the code that was needed.  The fuzzball tag was on
the good code.

- - - - -


1 changed file:

- ntpq/ntpq-subs.c


Changes:

=====================================
ntpq/ntpq-subs.c
=====================================
--- a/ntpq/ntpq-subs.c
+++ b/ntpq/ntpq-subs.c
@@ -1851,8 +1851,8 @@ dogetpeers(
 	int dsize;
 	u_short rstatus;
 
-	res = doquerylist(pvl, CTL_OP_READVAR, associd, 0, &rstatus,
-			  &dsize, &datap);
+	res = doquery(CTL_OP_READVAR, associd, 0, 0, NULL, &rstatus,
+		&dsize, &datap);
 	if (res != 0)
 		return false;
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/9ec4c23060c21d175c8749326d3835637f47bc06
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ntpsec.org/pipermail/vc/attachments/20160717/a9f6814e/attachment.html>


More information about the vc mailing list