the-tcpdump-group / tcpdump

the TCPdump network dissector
https://www.tcpdump.org/
Other
2.7k stars 842 forks source link

CMake: check for pcap_findalldevs_ex. #1196

Closed guyharris closed 2 months ago

guyharris commented 2 months ago

We do so for autotools, and we currently have separate ifdefs for pcap_open and pcap_findalldevs_ex, rather than treating the presence of pcap_open as an indication that we have the entire remote capture API (the latter is what Wireshark does).