]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Define scratch option cache pointer before use.
authorTed Lemon <source@isc.org>
Mon, 7 Feb 2000 18:58:03 +0000 (18:58 +0000)
committerTed Lemon <source@isc.org>
Mon, 7 Feb 2000 18:58:03 +0000 (18:58 +0000)
server/dhcp.c

index 52c0dfbdcf57326d47cb4380cefab7860ea164fa..374b059a62992d1bbd8c745506f98920e711772e 100644 (file)
@@ -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;