]> 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:04:51 +0000 (21:04 +0000)
committerguy <guy>
Mon, 14 Apr 2008 21:04:51 +0000 (21:04 +0000)
different modules can lead to confusion).

pcap-linux.c

index 6ab894234f249d5b0e72a72cd51e63917d1acad5..07025b086a706e180fcdaafb79f50768147f1152 100644 (file)
@@ -34,7 +34,7 @@
 
 #ifndef lint
 static const char rcsid[] _U_ =
-    "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.147 2008-04-14 20:40:58 guy Exp $ (LBL)";
+    "@(#) $Header: /tcpdump/master/libpcap/pcap-linux.c,v 1.148 2008-04-14 21:04:51 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);
 }
 
 /*