2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-29 13:28:14 +00:00

[master] Update partner's stos field when processing an update

This commit is contained in:
Shawn Routhier 2014-04-28 16:02:22 -07:00
parent 158a34fb68
commit dceef8736e
2 changed files with 5 additions and 0 deletions

View File

@ -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

View 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,