summaryrefslogtreecommitdiff
path: root/relay/dhcrelay.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-09-27 19:35:56 +0000
committerTed Lemon <source@isc.org>2000-09-27 19:35:56 +0000
commit639b70fa4527828670b93adf53a6b4d9f67ed69d (patch)
treeaea1726e77d1da3cd8530b9c10beb4b8dec8bf47 /relay/dhcrelay.c
parent5184d9c44f01f94896c302430cd87ea5024df00a (diff)
downloadisc-dhcp-639b70fa4527828670b93adf53a6b4d9f67ed69d.tar.gz
Fix uninitialized use of automatic variable (Hans Persson)
Diffstat (limited to 'relay/dhcrelay.c')
-rw-r--r--relay/dhcrelay.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/relay/dhcrelay.c b/relay/dhcrelay.c
index ae2ef4c0..5b347cf8 100644
--- a/relay/dhcrelay.c
+++ b/relay/dhcrelay.c
@@ -43,7 +43,7 @@
#ifndef lint
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 */
#include "dhcpd.h"
@@ -596,7 +596,7 @@ int find_interface_by_agent_option (packet, out, buf, len)
u_int8_t *buf;
int len;
{
- int i;
+ int i = 0;
u_int8_t *circuit_id = 0;
unsigned circuit_id_len;
struct interface_info *ip;