talos/internal
Andrey Smirnov e53eff902f
fix: ignore invalid NTP responses
Due to the bug introduced when refactoring for PTP devices, invalid NTP
responses (including for example NTP kiss of death), were incorrectly
handled when only a single NTP server was used.

The error was logged, but the response was used to adjust the time which
leads to unexpected time jumps.

Properly ignore any invalid NTP response.

Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
(cherry picked from commit d4a6d017dbb91e22c60787cdf64b242057b1ebef)
2024-09-25 18:19:31 +04:00
..
2024-09-25 18:19:31 +04:00
2024-09-25 18:19:31 +04:00