forked from osmocom/wireshark
23d80b0012
The introduction of pcap_list_datalinks() predates the introduction of PCAP_ERROR, so the presence of pcap_list_datalinks() doesn't guarantee that PCAP_ERROR is defined. Change the use of PCAP_ERROR when checking the result of pcap_list_datalinks() to just check for -1. Change-Id: Id8229b7aebd02eaf3701983f9343503397af4fb3 Reviewed-on: https://code.wireshark.org/review/19351 Reviewed-by: Guy Harris <guy@alum.mit.edu> |
||
---|---|---|
.. | ||
.editorconfig | ||
CMakeLists.txt | ||
Makefile.am | ||
airpcap.h | ||
airpcap_loader.c | ||
airpcap_loader.h | ||
capture-pcap-util-int.h | ||
capture-pcap-util-unix.c | ||
capture-pcap-util.c | ||
capture-pcap-util.h | ||
capture-wpcap.c | ||
capture-wpcap.h | ||
capture_ifinfo.h | ||
capture_win_ifnames.c | ||
capture_win_ifnames.h | ||
capture_wpcap_packet.c | ||
capture_wpcap_packet.h | ||
doxygen.cfg.in | ||
iface_monitor.c | ||
iface_monitor.h | ||
ws80211_utils.c | ||
ws80211_utils.h |