mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:55:07 -05:00
Log manual entries with MANU refid in tracking log
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user