diff options
author | 2020-09-11 07:09:41 +0000 | |
---|---|---|
committer | 2020-09-11 07:09:41 +0000 | |
commit | 418ac0ae63b6cdf1016e7010310e6ecb7ca16be6 (patch) | |
tree | e3d8a0b926930a49a8cd78308d2c14e316f7bcb3 /lib/libssl/ssl_lib.c | |
parent | Refactor initial cleanup. (diff) | |
download | wireguard-openbsd-418ac0ae63b6cdf1016e7010310e6ecb7ca16be6.tar.xz wireguard-openbsd-418ac0ae63b6cdf1016e7010310e6ecb7ca16be6.zip |
If we get messages but they are not ntp replies (e.g. caused by
incoming icmp) do not register them as replies. Also, fix a bug
introduced in the previous commit: first recompute scale, then
recompute interval, so that when the offset increases and thus the
scale is lowered both the poll interval and the check interval use
the same scale.
First issue spotted by naddy@ second one by and ok semarie@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions