Don't adjust the NTP polling interval and decrement the burst count when
NAU_PrepareRequestAuth() fails (e.g. no NTS-KE response received yet,
network being down, or the server refusing connections), same as if an
NTP request could not be sent. Rely on the rate limiting implemented in
the NTS code.
/* Prepare authentication */
if (!NAU_PrepareRequestAuth(inst->auth)) {
- if (inst->burst_total_samples_to_go > 0)
- inst->burst_total_samples_to_go--;
- adjust_poll(inst, 0.25);
SRC_UpdateReachability(inst->source, 0);
restart_timeout(inst, get_transmit_delay(inst, 1, 0.0));
return;