From 8998f8dff87c68b9c4f318b9214052d177ecf06c Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Fri, 29 Sep 2000 22:04:35 +0000 Subject: [PATCH] Don't print silly error messages --- server/failover.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/server/failover.c b/server/failover.c index 592d905c1..09ec39425 100644 --- a/server/failover.c +++ b/server/failover.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: failover.c,v 1.27 2000/09/20 10:13:43 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n"; +"$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"; #endif /* not lint */ #include "dhcpd.h" @@ -68,17 +68,14 @@ void dhcp_failover_startup () /* In case the peer is already running, immediately try to establish a connection with it. */ - status = (dhcp_failover_link_initiate - ((omapi_object_t *)state)); - if (status != ISC_R_SUCCESS) { + status = dhcp_failover_link_initiate ((omapi_object_t *)state); + if (status != ISC_R_SUCCESS && status != ISC_R_INCOMPLETE) { add_timeout (cur_time + 90, dhcp_failover_reconnect, state, (tvref_t) dhcp_failover_state_reference, (tvunref_t) dhcp_failover_state_dereference); - } - if (status != ISC_R_SUCCESS) { log_error ("failover peer %s: %s", state -> name, isc_result_totext (status)); } -- 2.47.3