]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
[master] Update partner's stos field when processing an update
authorShawn Routhier <sar@isc.org>
Mon, 28 Apr 2014 23:02:22 +0000 (16:02 -0700)
committerShawn Routhier <sar@isc.org>
Mon, 28 Apr 2014 23:02:22 +0000 (16:02 -0700)
RELNOTES
server/failover.c

index 89d7561c837e3f3824e7c28871171c2cc9b5f1ab..6abd5fe899cb92e3ae0c04341690afe64a5be16a 100644 (file)
--- 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
index 96ee1774e731d873536566cd7dd7107973d567b4..a0bebc289713af11b52c5c9476b057efb5ec8967 100644 (file)
@@ -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,