]> The Tcpdump Group git mirrors - libpcap/commitdiff
Fix a typo (sigh, using both "p" and "handle" for the pcap_t pointer in
authorguy <guy>
Mon, 14 Apr 2008 21:05:03 +0000 (21:05 +0000)
committerguy <guy>
Mon, 14 Apr 2008 21:05:03 +0000 (21:05 +0000)
different modules can lead to confusion).

pcap-linux.c

index a12e64ddfde86f7d040eeb4de21361d26ea00849..75f3d16d57fccaa91b399375fd9414ac7288da47 100644 (file)
@@ -34,7 +34,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.129.2.18 2008-04-14 20:41:52 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.129.2.19 2008-04-14 21:05:03 guy Exp $ (LBL)";
 #endif
 
 /*
@@ -471,7 +471,7 @@ static void pcap_cleanup_linux( pcap_t *handle )
                free(handle->md.device);
                handle->md.device = NULL;
        }
-       pcap_cleanup_live_common(p);
+       pcap_cleanup_live_common(handle);
 }
 
 /*