]> git.ipfire.org Git - thirdparty/kea.git/commit
[#2754] Fixed clock skew for partner unavailable
authorMarcin Siodelski <msiodelski@gmail.com>
Tue, 28 Mar 2023 09:31:13 +0000 (11:31 +0200)
committerMarcin Siodelski <msiodelski@gmail.com>
Wed, 29 Mar 2023 20:17:25 +0000 (22:17 +0200)
commit5055d84d1a674c59bdfcb6b022feb750039b05d7
tree0f41ab7adaf82b85aa6120f44c24630fe12b6055
parente323154b65d8a3f8dae1435c7208335c31d31966
[#2754] Fixed clock skew for partner unavailable

The clock skew is now reset when the partner is unavailable. We can't
reliably tell what the clock skew is when we have no communication with
the partner.
src/hooks/dhcp/high_availability/communication_state.cc
src/hooks/dhcp/high_availability/communication_state.h
src/hooks/dhcp/high_availability/ha_service.cc
src/hooks/dhcp/high_availability/tests/communication_state_unittest.cc
src/hooks/dhcp/high_availability/tests/ha_service_unittest.cc