[Git][NTPsec/ntpsec][master] Fill in sys_rootdist even if we have to combine peers.

Eric S. Raymond gitlab at mg.gitlab.com
Thu Jan 25 23:12:10 UTC 2018


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


Commits:
5c09fb70 by Eric S. Raymond at 2018-01-25T18:11:37-05:00
Fill in sys_rootdist even if we have to combine peers.

- - - - -


1 changed file:

- ntpd/ntp_proto.c


Changes:

=====================================
ntpd/ntp_proto.c
=====================================
--- a/ntpd/ntp_proto.c
+++ b/ntpd/ntp_proto.c
@@ -2122,6 +2122,7 @@ clock_combine(
 	}
 	sys_offset = z / y;
 	sys_jitter = SQRT(w / y + SQUARE(peers[syspeer].seljit));
+	sys_rootdist = peers[syspeer].synch;
 }
 
 



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/5c09fb7066fed7736c417095f7d45f437b46ea71

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/commit/5c09fb7066fed7736c417095f7d45f437b46ea71
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20180125/1b76a0b0/attachment.html>


More information about the vc mailing list