]> The Tcpdump Group git mirrors - tcpdump/commitdiff
tcpdump.c: fix a comment. [skip ci]
authorGuy Harris <[email protected]>
Sat, 25 Feb 2023 09:51:45 +0000 (01:51 -0800)
committerGuy Harris <[email protected]>
Tue, 27 Feb 2024 21:08:09 +0000 (13:08 -0800)
Some versions of Mac OS X (as it was then called) *did*, in fact, ship
with a libpcap that had pcap_findalldevs() but a pcap.h that didn't
define pcap_if_t; it's not a question of "may ship", it's a fact of "did
ship".

(cherry picked from commit 97c31661edb100fefcf20383f057e25edd7f4e11)

tcpdump.c

index 56e9393b83639e016d3498bef0dee9c1bb0bd602..c657707fbb40019ebecdfa09f2a583af82ff3b0b 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -38,7 +38,7 @@
 #endif
 
 /*
- * Some older versions of Mac OS X may ship pcap.h from libpcap 0.6 with a
+ * Some older versions of Mac OS X ship pcap.h from libpcap 0.6 with a
  * libpcap based on 0.8.  That means it has pcap_findalldevs() but the
  * header doesn't define pcap_if_t, meaning that we can't actually *use*
  * pcap_findalldevs().