mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-08-30 05:47:45 +00:00
Define scratch option cache pointer before use.
This commit is contained in:
parent
0c8afe11d0
commit
c99a6692f2
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char copyright[] =
|
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 */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@ -35,6 +35,7 @@ void dhcp (packet)
|
|||||||
struct packet *packet;
|
struct packet *packet;
|
||||||
{
|
{
|
||||||
int ms_nulltp = 0;
|
int ms_nulltp = 0;
|
||||||
|
struct option_cache *oc;
|
||||||
|
|
||||||
if (!locate_network (packet) && packet -> packet_type != DHCPREQUEST)
|
if (!locate_network (packet) && packet -> packet_type != DHCPREQUEST)
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user