Fix maxchange offset check
This commit is contained in:
parent
57f8160d6c
commit
9c78ad708b
1 changed files with 1 additions and 1 deletions
|
@ -717,7 +717,7 @@ REF_SetReference(int stratum,
|
||||||
UTI_DiffTimevalsToDouble(&elapsed, &now, ref_time);
|
UTI_DiffTimevalsToDouble(&elapsed, &now, ref_time);
|
||||||
our_offset = offset + elapsed * frequency;
|
our_offset = offset + elapsed * frequency;
|
||||||
|
|
||||||
if (!is_offset_ok(offset))
|
if (!is_offset_ok(our_offset))
|
||||||
return;
|
return;
|
||||||
|
|
||||||
are_we_synchronised = leap != LEAP_Unsynchronised ? 1 : 0;
|
are_we_synchronised = leap != LEAP_Unsynchronised ? 1 : 0;
|
||||||
|
|
Loading…
Reference in a new issue