mirror of
https://gitlab.isc.org/isc-projects/dhcp
synced 2025-09-03 15:56:00 +00:00
Fix uninitialized use of automatic variable (Hans Persson)
This commit is contained in:
@@ -43,7 +43,7 @@
|
|||||||
|
|
||||||
#ifndef lint
|
#ifndef lint
|
||||||
static char ocopyright[] =
|
static char ocopyright[] =
|
||||||
"$Id: dhcrelay.c,v 1.44 2000/09/01 23:06:37 mellon Exp $ Copyright (c) 1997-2000 Internet Software Consortium. All rights reserved.\n";
|
"$Id: dhcrelay.c,v 1.45 2000/09/27 19:35:56 mellon Exp $ Copyright (c) 1997-2000 Internet Software Consortium. All rights reserved.\n";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include "dhcpd.h"
|
#include "dhcpd.h"
|
||||||
@@ -596,7 +596,7 @@ int find_interface_by_agent_option (packet, out, buf, len)
|
|||||||
u_int8_t *buf;
|
u_int8_t *buf;
|
||||||
int len;
|
int len;
|
||||||
{
|
{
|
||||||
int i;
|
int i = 0;
|
||||||
u_int8_t *circuit_id = 0;
|
u_int8_t *circuit_id = 0;
|
||||||
unsigned circuit_id_len;
|
unsigned circuit_id_len;
|
||||||
struct interface_info *ip;
|
struct interface_info *ip;
|
||||||
|
Reference in New Issue
Block a user