Description: Fix declaration of a variable
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1074923
Author: Sven Geuer <sge@debian.org>
Last-Update: 2024-08-09
--- a/urlsnarf.c
+++ b/urlsnarf.c
@@ -341,7 +341,7 @@
 	}
 
 	struct pcap_pkthdr *h;
-	u_char *d;
+	const u_char *d;
 	int rc;
 	while ((rc = pcap_next_ex(p, &h, &d)) == 1) {
 		tt = h->ts.tv_sec;
