From: Ted Lemon Date: Sat, 24 Jun 2000 06:30:11 +0000 (+0000) Subject: Fix an unprotected call to failover_print. X-Git-Tag: V3-BETA-2-PATCH-1~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0096c63929b16340780a854091bc97ce93d55c9f;p=thirdparty%2Fdhcp.git Fix an unprotected call to failover_print. --- diff --git a/server/failover.c b/server/failover.c index 11a78af4f..036dabba8 100644 --- a/server/failover.c +++ b/server/failover.c @@ -43,7 +43,7 @@ #ifndef lint static char copyright[] = -"$Id: failover.c,v 1.19 2000/06/12 20:19:21 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n"; +"$Id: failover.c,v 1.20 2000/06/24 06:30:11 mellon Exp $ Copyright (c) 1999-2000 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -2450,7 +2450,9 @@ failover_option_t *dhcp_failover_make_option (unsigned code, break; } +#if defined DEBUG_FAILOVER_MESSAGES failover_print (obuf, obufix, obufmax, ")"); +#endif /* Now allocate a place to store what we just set up. */ op = dmalloc (sizeof (failover_option_t), MDL);