[Git][NTPsec/ntpsec][master] mode 6: output sys_fuzz/fuzz as precision 6, not 3
Gary E. Miller
gitlab at mg.gitlab.com
Fri Jan 20 22:20:18 UTC 2017
Gary E. Miller pushed to branch master at NTPsec / ntpsec
Commits:
cac2d63b by Gary E. Miller at 2017-01-20T14:19:31-08:00
mode 6: output sys_fuzz/fuzz as precision 6, not 3
So it is not always zero.
- - - - -
1 changed file:
- ntpd/ntp_control.c
Changes:
=====================================
ntpd/ntp_control.c
=====================================
--- a/ntpd/ntp_control.c
+++ b/ntpd/ntp_control.c
@@ -2011,7 +2011,8 @@ ctl_putsys(
break;
case CS_FUZZ:
- ctl_putdbl(sys_var[varid].text, sys_fuzz * 1e3);
+ /* a.k.a. fuzz (s), output in us */
+ ctl_putdbl6(sys_var[varid].text, sys_fuzz * 1e3);
break;
case CS_WANDER_THRESH:
ctl_putdbl(sys_var[varid].text, wander_threshold * 1e6);
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/cac2d63b3cf1eac0c3c1ca8a1fcf97eb4c5aa6d2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170120/fc7475ff/attachment.html>
More information about the vc
mailing list