summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShawn Routhier <sar@isc.org>2014-04-28 16:05:21 -0700
committerShawn Routhier <sar@isc.org>2014-04-28 16:05:21 -0700
commitcd890d942f1d50647cbb0f58b2eafaae5d7665bd (patch)
tree5ae7f9061889e395788bdf9cd9e07f5b04ce07ce
parent2dcea6d03da076cf7d99c9e1b5245b98f978c6a8 (diff)
downloadisc-dhcp-cd890d942f1d50647cbb0f58b2eafaae5d7665bd.tar.gz
[v4_2] Update partner's stos field when processing an update
-rw-r--r--RELNOTES4
-rw-r--r--server/failover.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/RELNOTES b/RELNOTES
index 775fb423..c5a4d30d 100644
--- 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
diff --git a/server/failover.c b/server/failover.c
index 42a86d92..b39d2638 100644
--- a/server/failover.c
+++ b/server/failover.c
@@ -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,