From: Ted Lemon Date: Fri, 24 Nov 2000 04:19:05 +0000 (+0000) Subject: Add in a couple of missing break statements. X-Git-Tag: V3-BETA-1-PATCH-11~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=812022ffd669e60cf2815b02ecc6f5e3c96de7c3;p=thirdparty%2Fdhcp.git Add in a couple of missing break statements. --- diff --git a/server/failover.c b/server/failover.c index 09ec39425..f3d44a70a 100644 --- a/server/failover.c +++ b/server/failover.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: failover.c,v 1.28 2000/09/29 22:04:35 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: failover.c,v 1.29 2000/11/24 04:19:05 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -1349,6 +1349,8 @@ isc_result_t dhcp_failover_state_transition (dhcp_failover_state_t *state, XXX interrupted, because then when the connect XXX occurred, we'd make a transition into XXX normal, not recover. */ + break; /* Kim says stay in recover. */ + case normal: return dhcp_failover_set_state (state, communications_interrupted); @@ -1659,6 +1661,7 @@ isc_result_t dhcp_failover_peer_state_changed (dhcp_failover_state_t *state, XXX the documentation for the shut_down state, XXX not the normal state. */ dhcp_failover_set_state (state, partner_down); + break; case paused: dhcp_failover_set_state (state,