Log manual entries with MANU refid in tracking log

This commit is contained in:
Miroslav Lichvar 2013-06-14 19:42:13 +02:00
parent 561f7a66dd
commit 95c3acf67e

View file

@ -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);
}