]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Don't try to recover from our own time steps
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 10 Jun 2011 16:55:20 +0000 (18:55 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 10 Jun 2011 16:57:04 +0000 (18:57 +0200)
sched.c

diff --git a/sched.c b/sched.c
index e5e4a5253082df7fb8f2b78e67c0b94f0eba896e..a08baa1f0349458e3c6657156e7fc42c480274a4 100644 (file)
--- a/sched.c
+++ b/sched.c
@@ -509,6 +509,8 @@ handle_slew(struct timeval *raw,
     for (i = 0; i < SCH_NumberOfClasses; i++) {
       UTI_AddDoubleToTimeval(&last_class_dispatch[i], -doffset, &last_class_dispatch[i]);
     }
+
+    UTI_AddDoubleToTimeval(&last_select_ts_raw, -doffset, &last_select_ts_raw);
   }
 }