mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 20:45:07 -05:00
Add reselect command
This commit is contained in:
10
sources.c
10
sources.c
@@ -778,6 +778,16 @@ SRC_SelectSource(unsigned long match_addr)
|
||||
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
/* Force reselecting the best source */
|
||||
|
||||
void
|
||||
SRC_ReselectSource(void)
|
||||
{
|
||||
selected_source_index = INVALID_SOURCE;
|
||||
SRC_SelectSource(0);
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
double
|
||||
|
||||
Reference in New Issue
Block a user