From: Shawn Routhier Date: Mon, 28 Apr 2014 23:02:22 +0000 (-0700) Subject: [master] Update partner's stos field when processing an update X-Git-Tag: v4_3_1b1~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dceef8736e064a524cf8b24eb66ad3840a38bd45;p=thirdparty%2Fdhcp.git [master] Update partner's stos field when processing an update --- diff --git a/RELNOTES b/RELNOTES index 89d7561c8..6abd5fe89 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 96ee1774e..a0bebc289 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,