]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
Correct frequency estimate with no drift file, from David Mills
authorHarlan Stenn <stenn@ntp.org>
Sun, 7 Nov 2010 02:00:48 +0000 (22:00 -0400)
committerHarlan Stenn <stenn@ntp.org>
Sun, 7 Nov 2010 02:00:48 +0000 (22:00 -0400)
bk: 4cd60850D0GCsXvTdMcVkdifvrcIiQ

ChangeLog
ntpd/ntp_loopfilter.c

index 98589229702cbe31fdfe713af05f31afa3bdcea5..407f4260f34fbfe17dbf1a6498ea6a644494e6a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,4 @@
+* Correct frequency estimate with no drift file, from David Mills.
 (4.2.7p78) 2010/11/04 Released by Harlan Stenn <stenn@ntp.org>
 * [Bug 1697] filegen implementation should be improved.
 * Refactor calendar functions in terms of new common code.
index 461426fe8640be562091c7daced9f3cbaa1d3790..68375efa5a644b122112bd39be1292806153036d 100644 (file)
@@ -439,7 +439,7 @@ local_clock(
                 */
                case EVNT_FREQ:
                        if (mu < clock_minstep)
-                               return (0);
+                               break;
 
                        clock_frequency = direct_freq(fp_offset);
                        rstclock(EVNT_SYNC, 0);