From: Ted Lemon Date: Mon, 7 Feb 2000 18:58:03 +0000 (+0000) Subject: Define scratch option cache pointer before use. X-Git-Tag: V3-BETA-2-PATCH-1~317 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c99a6692f233dbfa721b4a419d2a838fc4d07c10;p=thirdparty%2Fdhcp.git Define scratch option cache pointer before use. --- diff --git a/server/dhcp.c b/server/dhcp.c index 52c0dfbdc..374b059a6 100644 --- a/server/dhcp.c +++ b/server/dhcp.c @@ -22,7 +22,7 @@ #ifndef lint static char copyright[] = -"$Id: dhcp.c,v 1.138 2000/02/07 05:12:03 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dhcp.c,v 1.139 2000/02/07 18:58:03 mellon Exp $ Copyright (c) 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -35,6 +35,7 @@ void dhcp (packet) struct packet *packet; { int ms_nulltp = 0; + struct option_cache *oc; if (!locate_network (packet) && packet -> packet_type != DHCPREQUEST) return;