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

index 775fb4236547f0ab54812067f35c62dc56bdeb13..c5a4d30dc442320966e940880a67a9f1d10767ad 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -72,6 +72,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.2.6rc1
 
 - None
index 42a86d92333234720172f82564dadb4d96e50ffa..b39d2638fce5e9324f8ea6d14d8f84616a97f018 100644 (file)
@@ -1975,6 +1975,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,