[Git][NTPsec/ntpsec][master] Add a few more digits to time slots for ntpq peers

Hal Murray gitlab at mg.gitlab.com
Wed Feb 1 23:09:18 UTC 2017


Hal Murray pushed to branch master at NTPsec / ntpsec


Commits:
685d8c71 by Hal Murray at 2017-02-01T15:08:33-08:00
Add a few more digits to time slots for ntpq peers

- - - - -


1 changed file:

- ntpd/ntp_control.c


Changes:

=====================================
ntpd/ntp_control.c
=====================================
--- a/ntpd/ntp_control.c
+++ b/ntpd/ntp_control.c
@@ -2198,19 +2198,19 @@ ctl_putpeer(
 		break;
 
 	case CP_DELAY:
-		ctl_putdbl(peer_var[id].text, p->delay * 1e3);
+		ctl_putdbl6(peer_var[id].text, p->delay * 1e3);
 		break;
 
 	case CP_OFFSET:
-		ctl_putdbl(peer_var[id].text, p->offset * 1e3);
+		ctl_putdbl6(peer_var[id].text, p->offset * 1e3);
 		break;
 
 	case CP_JITTER:
-		ctl_putdbl(peer_var[id].text, p->jitter * 1e3);
+		ctl_putdbl6(peer_var[id].text, p->jitter * 1e3);
 		break;
 
 	case CP_DISPERSION:
-		ctl_putdbl(peer_var[id].text, p->disp * 1e3);
+		ctl_putdbl6(peer_var[id].text, p->disp * 1e3);
 		break;
 
 	case CP_KEYID:



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/685d8c71bb6fbc8f3a6c9ba779856976a740b0cb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170201/8a86f390/attachment.html>


More information about the vc mailing list