summaryrefslogtreecommitdiff
blob: 4151b461bbfd653a7cd268bb6de0f3e44c0bd891 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- dhcp_probe-1.3.0/src/dhcp_probe.c.orig	2009-03-09 21:17:47.000000000 +0100
+++ dhcp_probe-1.3.0/src/dhcp_probe.c	2009-11-19 18:09:26.000000000 +0100
@@ -84,7 +84,6 @@
 	struct sigaction sa;
 	FILE *pid_fp;
 	char *cwd = CWD;
-	int i;
 
 	int write_packet_len;
 	int bytes_written;
@@ -98,9 +97,6 @@
 	int linktype;
 	char pcap_errbuf[PCAP_ERRBUF_SIZE], pcap_errbuf2[PCAP_ERRBUF_SIZE];
 
-	/* for libnet */
-	char libnet_errbuf[LIBNET_ERRBUF_SIZE];
-
 	/* get progname = last component of argv[0] */
 	prog = strrchr(argv[0], '/');
 	if (prog)
@@ -987,8 +983,6 @@
    Must not be called until after initial configuration is complete.
 */
    
-	int i;
-
 	if (! read_configfile(config_file)) {
 		my_exit(1, 1, 1);
 	}