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

index 1214f6e0aa65511cf0f39c151d5d9f9269fffa8c..e0656608b54e51cb0aca1a68d65a7372a079ca88 100644 (file)
--- a/RELNOTES
+++ b/RELNOTES
@@ -82,6 +82,10 @@ by Eric Young (eay@cryptsoft.com).
 - Fix some minor issues in the dst code.
   [ISC-Bugs #34172]
 
+- 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.1-ESV-R9rc1
 
 - None
index 461628b95c60ccb3452391e6cb175ab7d8fc4f9d..4e5977c27926a5c199e52878c7d62504569af931 100644 (file)
@@ -1946,6 +1946,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,