From: Ted Lemon Date: Tue, 1 May 2001 23:12:06 +0000 (+0000) Subject: - When we are in partner_down and peer moves to recover_wait, behave as we X-Git-Tag: V3-RC5~40 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2036af066ac70fa1973282150e34afb0b176aa4a;p=thirdparty%2Fdhcp.git - When we are in partner_down and peer moves to recover_wait, behave as we would for recover, not for recover_done. --- diff --git a/server/failover.c b/server/failover.c index e3aa736aa..1220c1d90 100644 --- a/server/failover.c +++ b/server/failover.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: failover.c,v 1.51 2001/05/01 20:02:10 mellon Exp $ Copyright (c) 1999-2001 The Internet Software Consortium. All rights reserved.\n"; +"$Id: failover.c,v 1.52 2001/05/01 23:12:06 mellon Exp $ Copyright (c) 1999-2001 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -1850,10 +1850,10 @@ isc_result_t dhcp_failover_peer_state_changed (dhcp_failover_state_t *state, switch (new_state) { /* This is where we should be. */ case recover: + case recover_wait: break; case recover_done: - case recover_wait: dhcp_failover_set_state (state, normal); break;