Subject: Kevin Hung provided these patches: dhcp_probe-1.3.1-logging-dhcp_probe.c.txt and dhcp_probe-1.3.0-cycle_time-dhcp_probe.cf.sample.txt. Both would have been in the next version released by Princeton University, had development at Princeton University continued. 
Source: https://www.net.princeton.edu/software/dhcp_probe/
Origin: upstream
Author: Kevin Hung <>

--- a/src/dhcp_probe.c
+++ b/src/dhcp_probe.c
@@ -95,7 +95,7 @@ main(int argc, char **argv)
 	/* for libpcap */
 	struct bpf_program bpf_code;
 	int linktype;
-	char pcap_errbuf[PCAP_ERRBUF_SIZE], pcap_errbuf2[PCAP_ERRBUF_SIZE];
+	char pcap_errbuf[PCAP_ERRBUF_SIZE];
 
 	/* get progname = last component of argv[0] */
 	prog = strrchr(argv[0], '/');
@@ -416,7 +416,7 @@ main(int argc, char **argv)
 		*/
 		pcap_errbuf[0] = '\0'; /* so we can tell if a warning was produced on success */
 		if ((pd_template = pcap_open_live(ifname, snaplen, 0, 1, pcap_errbuf)) == NULL) {
-			report(LOG_ERR, "pcap_open_live %s: %s", ifname, pcap_errbuf2);
+			report(LOG_ERR, "pcap_open_live %s: %s", ifname, pcap_errbuf);
 			my_exit(1, 1, 1);
 		}
 		if (pcap_errbuf[0] != '\0')
