From: Ted Lemon Date: Thu, 27 Jan 2000 23:19:35 +0000 (+0000) Subject: Support new DEBUG_RC_HISTORY_EXHAUSTIVELY flag. X-Git-Tag: V3-BETA-2-PATCH-1~382 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a77040e7c64d44004b2877cc9187dec7c7c27083;p=thirdparty%2Fdhcp.git Support new DEBUG_RC_HISTORY_EXHAUSTIVELY flag. --- diff --git a/common/options.c b/common/options.c index b76152ac3..bcb2a000f 100644 --- a/common/options.c +++ b/common/options.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: options.c,v 1.55 2000/01/27 22:40:49 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: options.c,v 1.56 2000/01/27 23:19:35 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #define DHCP_OPTION_DATA @@ -1043,6 +1043,7 @@ int option_cache_dereference (ptr, file, line) #if defined (POINTER_DEBUG) abort (); #else + *ptr = (struct option_cache *)0; return 0; #endif } @@ -1366,7 +1367,7 @@ void do_packet (interface, packet, len, from_port, from, hfrom) #if defined (DEBUG_MEMORY_LEAKAGE) || defined (DEBUG_MALLOC_POOL) dmalloc_dump_outstanding (); #endif -#if defined (DEBUG_RC_HISTORY) +#if defined (DEBUG_RC_HISTORY_EXHAUSTIVELY) dump_rc_history (); #endif }