]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 3138] gpsdjson refclock should honor fudgetime1. stenn@ntp.org
authorHarlan Stenn <stenn@ntp.org>
Sat, 12 Nov 2016 23:57:34 +0000 (15:57 -0800)
committerHarlan Stenn <stenn@ntp.org>
Sat, 12 Nov 2016 23:57:34 +0000 (15:57 -0800)
bk: 5827ac6eXA_4t1_9Ou_VH-xNuIwq0Q

ChangeLog
NEWS
ntpd/refclock_gpsdjson.c

index be672ed9178e89bc2d7a696a7859f01b0b48cab0..bc06285ac2837e1e4afd3ca70cb0a431daa273fd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,7 @@
 * [Sec 3072] Attack on interface selection <perlinger@ntp.org>
   - implemented Miroslav Lichvars <mlichvar@redhat.com> suggestion
     to skip interface updates based on incoming packets
+* [Bug 3138] gpsdjson refclock should honor fudgetime1. stenn@ntp.org
 * [Bug 3125] NTPD doesn't fully start when ntp.conf entries are out of order
   using the loopback-ppsapi-provider.dll <perlinger@ntp.org>
 * [Bug 3116] unit tests for NTP time stamp expansion. <perlinger@ntp.org>
diff --git a/NEWS b/NEWS
index 3cb4a8dc6ec267c9e13c03433449b6403a9c52aa..544c628bc763c7c9a9ebc990693878203e46ddb4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -95,6 +95,7 @@ X  Mitigation:
 
 Other fixes:
 
+* [Bug 3138] gpsdjson refclock should honor fudgetime1. stenn@ntp.org
 * [Bug 3125] NTPD doesn't fully start when ntp.conf entries are out of order
   using the loopback-ppsapi-provider.dll <perlinger@ntp.org>
 * [Bug 3116] unit tests for NTP time stamp expansion. <perlinger@ntp.org>
index 24a15e7f62aa8a6869409163220759b1ea64cf10..7c4931149c6c829d5d486ff5b0f2fb5570779788 100644 (file)
@@ -949,7 +949,7 @@ add_clock_sample(
        pp->lastref = stamp;
        if (pp->coderecv == pp->codeproc)
                refclock_report(peer, CEVNT_NOMINAL);
-       refclock_process_offset(pp, stamp, recvt, 0.0);
+       refclock_process_offset(pp, stamp, recvt, pp->fudgetime1);
 }
 
 /* ------------------------------------------------------------------ */