sourcestats: add fixed asymmetry

Rework the code to allow the jitter asymmetry to be specified.
This commit is contained in:
Miroslav Lichvar
2017-08-22 16:26:40 +02:00
parent d0964ffa83
commit b06d74ab73
7 changed files with 59 additions and 32 deletions

View File

@@ -586,7 +586,7 @@ NCR_GetInstance(NTP_Remote_Address *remote_addr, NTP_Source_Type type, SourcePar
SRC_NTP, params->sel_options,
&result->remote_addr.ip_addr,
params->min_samples, params->max_samples,
0.0);
0.0, 1.0);
result->rx_timeout_id = 0;
result->tx_timeout_id = 0;