ntp: fix adjustment of init_local_rx timestamp
This fixes commit f0f18a02a7
.
This commit is contained in:
parent
b827475378
commit
b296441708
1 changed files with 1 additions and 1 deletions
|
@ -2268,7 +2268,7 @@ NCR_SlewTimes(NCR_Instance inst, struct timespec *when, double dfreq, double dof
|
||||||
UTI_AdjustTimespec(&inst->prev_local_tx.ts, when, &inst->prev_local_tx.ts, &delta, dfreq,
|
UTI_AdjustTimespec(&inst->prev_local_tx.ts, when, &inst->prev_local_tx.ts, &delta, dfreq,
|
||||||
doffset);
|
doffset);
|
||||||
if (!UTI_IsZeroTimespec(&inst->init_local_rx.ts))
|
if (!UTI_IsZeroTimespec(&inst->init_local_rx.ts))
|
||||||
UTI_AdjustTimespec(&inst->init_local_rx.ts, when, &inst->local_rx.ts, &delta, dfreq,
|
UTI_AdjustTimespec(&inst->init_local_rx.ts, when, &inst->init_local_rx.ts, &delta, dfreq,
|
||||||
doffset);
|
doffset);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue