[ntp:questions] LOCL clock reachability not 377?

Harlan Stenn stenn at ntp.org
Mon Aug 25 08:30:40 UTC 2014


Rob writes:
> Harlan wrote:
>> All the time variables are fixed-point decimals in seconds - you
>> should be able to say 0.001 to mean a millisecond (or -0.001 if you
>> need to go the other direction).
> 
> Should.   But:
> 
>         if (pp->sloppyclockflag & CLK_FLAG1)
>                 up->max_delta = 0;
>         else if (pp->fudgetime2 < 1. || pp->fudgetime2 > 86400.)
>                 up->max_delta = 4*3600;
>         else
>                 up->max_delta = (time_t)floor(pp->fudgetime2 + 0.5);

This is a question for Juergen...

H


More information about the questions mailing list