Well looks like sometime in libpcap 0.9.x, pcap.h changed the enum for direction_t to pcap_direction_t and the enumerated types within. While I can understand the reason of the change, it's driving me nuts since there doesn't seem to be an easy way to handle this gracefully.
Since I don't use autoconf for this project, anyone have a way of detecting what version of pcap.h is there? Simple things like: #ifndef D_IN #define D_IN PCAP_D_IN #endif aren't going to work. -- Aaron Turner http://synfin.net/ - This is the tcpdump-workers list. Visit https://lists.sandelman.ca/ to unsubscribe.
