mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 02:35:06 -05:00
Don't try to recover from our own time steps
This commit is contained in:
2
sched.c
2
sched.c
@@ -509,6 +509,8 @@ handle_slew(struct timeval *raw,
|
|||||||
for (i = 0; i < SCH_NumberOfClasses; i++) {
|
for (i = 0; i < SCH_NumberOfClasses; i++) {
|
||||||
UTI_AddDoubleToTimeval(&last_class_dispatch[i], -doffset, &last_class_dispatch[i]);
|
UTI_AddDoubleToTimeval(&last_class_dispatch[i], -doffset, &last_class_dispatch[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
UTI_AddDoubleToTimeval(&last_select_ts_raw, -doffset, &last_select_ts_raw);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user