Actions
Bug #4797
closedndndump: pcap_lookupdev is deprecated
Start date:
Due date:
% Done:
100%
Estimated time:
Tags:
Description
libpcap 1.9.0
../tools/dump/ndndump.cpp:99:33: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations]
const char* defaultDevice = pcap_lookupdev(errbuf);
^
../../../../local/include/pcap/pcap.h:327:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here
PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device");
^
../../../../local/include/pcap/funcattrs.h:225:53: note: expanded from macro 'PCAP_DEPRECATED'
#define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg)))
^
1 warning generated.
Actions