mirror of
https://gitlab.com/chrony/chrony.git
synced 2026-01-21 05:10:19 -05:00
Add minstratum command
This commit is contained in:
10
ntp_core.c
10
ntp_core.c
@@ -1749,6 +1749,16 @@ NCR_ModifyMaxdelayratio(NCR_Instance inst, double new_max_delay_ratio)
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
void
|
||||
NCR_ModifyMinstratum(NCR_Instance inst, int new_min_stratum)
|
||||
{
|
||||
inst->min_stratum = new_min_stratum;
|
||||
LOG(LOGS_INFO, LOGF_NtpCore, "Source %s new minstratum %d",
|
||||
UTI_IPToString(&inst->remote_addr.ip_addr), new_min_stratum);
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
void
|
||||
NCR_InitiateSampleBurst(NCR_Instance inst, int n_good_samples, int n_total_samples)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user