From dceef8736e064a524cf8b24eb66ad3840a38bd45 Mon Sep 17 00:00:00 2001 From: Shawn Routhier Date: Mon, 28 Apr 2014 16:02:22 -0700 Subject: [PATCH] [master] Update partner's stos field when processing an update --- RELNOTES | 4 ++++ server/failover.c | 1 + 2 files changed, 5 insertions(+) diff --git a/RELNOTES b/RELNOTES index 89d7561c..6abd5fe8 100644 --- a/RELNOTES +++ b/RELNOTES @@ -80,6 +80,10 @@ by Eric Young (eay@cryptsoft.com). - Properly #ifdef functions so that the code can compile without NSUPDATE [ISC-Bugs #35058] +- Update the partner's stos (start time of state, basically when we last + heard from this partner) field when updating the state in failover. + [ISC-Bugs #35549] + Changes since 4.3.0rc1 - None diff --git a/server/failover.c b/server/failover.c index 96ee1774..a0bebc28 100644 --- a/server/failover.c +++ b/server/failover.c @@ -1979,6 +1979,7 @@ isc_result_t dhcp_failover_peer_state_changed (dhcp_failover_state_t *state, } state -> partner.state = new_state; + state -> partner.stos = cur_time; log_info ("failover peer %s: peer moves from %s to %s", state -> name,