]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
reference: report zero root dispersion with local reference
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 26 Jan 2017 10:08:55 +0000 (11:08 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 27 Jan 2017 09:55:28 +0000 (10:55 +0100)
The server's precision is supposed to be included in client's
dispersion. Don't include it in the server's dispersion.

reference.c

index 3fdcb3830027f343d47bf03d307c5469d760e761..b9a25f5fcba83d58636b3a28b82a68cc34494513 100644 (file)
@@ -1214,7 +1214,7 @@ REF_GetReferenceParams
     *leap_status = LEAP_Normal;
     
     *root_delay = 0.0;
-    *root_dispersion = LCL_GetSysPrecisionAsQuantum();
+    *root_dispersion = 0.0;
     
   } else {