diff --git a/src/apps/sntp/sntp.c b/src/apps/sntp/sntp.c index 0e7f3652..315aa949 100644 --- a/src/apps/sntp/sntp.c +++ b/src/apps/sntp/sntp.c @@ -546,6 +546,7 @@ sntp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, const ip_addr_t *addr, /* KOD errors are only processed in case of an explicit poll response */ if (sntp_opmode == SNTP_OPMODE_POLL) { /* Kiss-of-death packet. Use another server or increase UPDATE_DELAY. */ + sys_untimeout(sntp_request, NULL); sntp_kod_try_next_server(NULL); } } else {