mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 19:25:07 -05:00
Add reselectdist command
This commit is contained in:
11
sources.c
11
sources.c
@@ -901,6 +901,17 @@ SRC_ReselectSource(void)
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
void
|
||||
SRC_SetReselectDistance(double distance)
|
||||
{
|
||||
if (reselect_distance != distance) {
|
||||
reselect_distance = distance;
|
||||
LOG(LOGS_INFO, LOGF_Sources, "New reselect distance %f", distance);
|
||||
}
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
double
|
||||
SRC_PredictOffset(SRC_Instance inst, struct timeval *when)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user