sources: provide frequency SD to reference update

This commit is contained in:
Miroslav Lichvar
2018-08-17 08:34:14 +02:00
parent cca2ef4649
commit ca73e34f30
3 changed files with 17 additions and 11 deletions

View File

@@ -947,6 +947,7 @@ REF_SetReference(int stratum,
double offset,
double offset_sd,
double frequency,
double frequency_sd,
double skew,
double root_delay,
double root_dispersion
@@ -1146,7 +1147,7 @@ REF_SetManualReference
only supposed to be used with the local source option, really.
Log as MANU in the tracking log, packets will have NTP_REFID_LOCAL. */
REF_SetReference(0, LEAP_Unsynchronised, 1, 0x4D414E55UL, NULL,
ref_time, offset, 0.0, frequency, skew, 0.0, 0.0);
ref_time, offset, 0.0, frequency, skew, skew, 0.0, 0.0);
}
/* ================================================== */