ntp: fix updating of transmit delay in symmetric mode
This was broken in commit cea21adbbb
.
This commit is contained in:
parent
c169ad3f58
commit
2577e20f09
1 changed files with 2 additions and 1 deletions
|
@ -1479,7 +1479,8 @@ receive_packet(NTP_Packet *message, struct timespec *now, double now_err, NCR_In
|
|||
|
||||
/* And now, requeue the timer */
|
||||
if (inst->opmode != MD_OFFLINE) {
|
||||
delay_time = get_transmit_delay(inst, 0, local_interval);
|
||||
delay_time = get_transmit_delay(inst, 0,
|
||||
UTI_DiffTimespecsToDouble(&inst->local_rx, &inst->local_tx));
|
||||
|
||||
if (kod_rate) {
|
||||
/* Back off for a while and stop ongoing burst */
|
||||
|
|
Loading…
Reference in a new issue