From: Miroslav Lichvar Date: Fri, 14 Jun 2013 17:42:13 +0000 (+0200) Subject: Log manual entries with MANU refid in tracking log X-Git-Tag: 1.28-pre1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95c3acf67ecee7eade2a7ac0ab12228f5c8f13f7;p=thirdparty%2Fchrony.git Log manual entries with MANU refid in tracking log --- diff --git a/reference.c b/reference.c index 77112e93..7d6d2400 100644 --- a/reference.c +++ b/reference.c @@ -857,14 +857,12 @@ REF_SetManualReference double skew ) { - IPAddr local_ip; - - UTI_StringToIP("127.127.1.1", &local_ip); + uint32_t manual_refid = 0x4D414E55; /* MANU */ /* We are not synchronised to an external source, as such. This is only supposed to be used with the local source option, really ... */ - REF_SetReference(0, LEAP_Unsynchronised, LOCAL_REFERENCE_ID, &local_ip, + REF_SetReference(0, LEAP_Unsynchronised, manual_refid, NULL, ref_time, offset, 0.0, frequency, skew, 0.0, 0.0); }