From: Miroslav Lichvar Date: Wed, 2 Dec 2015 17:10:22 +0000 (+0100) Subject: sourcestats: use maximum value as invalid age in source report X-Git-Tag: 2.3-pre1~76 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f50b520557f8e4bed00d2868f070861b84f69cae;p=thirdparty%2Fchrony.git sourcestats: use maximum value as invalid age in source report --- diff --git a/sourcestats.c b/sourcestats.c index 52e50349..ac976dca 100644 --- a/sourcestats.c +++ b/sourcestats.c @@ -845,7 +845,7 @@ SST_DoSourceReport(SST_Stats inst, RPT_SourceReport *report, struct timeval *now UTI_DiffTimevals(&ago, now, &inst->sample_times[i]); report->latest_meas_ago = ago.tv_sec; } else { - report->latest_meas_ago = 86400 * 365 * 10; + report->latest_meas_ago = (uint32_t)-1; report->orig_latest_meas = 0; report->latest_meas = 0; report->latest_meas_err = 0;