On Fri, Oct 10, 2003 at 11:32:50PM +0200, Joerg Mayer wrote: > Ah, too bad not everyone is using my software setup :-) > I'm wondering though whether it I simply should expand the call to > pcap_compiie_nopcap to its basic calls, thus a) removing another > configure check and making this feature work on more platforms?
Unfortunately, its basic calls include a call to "pcap_open_dead()", which is also not available in all versions of libpcap. In the official tcpdump.org code line, "pcap_compile_nopcap()" appeared before "pcap_open_dead()", but I think NetBSD's libpcap might have, at one point, had "pcap_open_dead()" but not "pcap_compile_nopcap()". (I don't remember the details, but I do remember that they were two separate ways of achieving the same goal, and that we ended up putting both into libpcap, with "pcap_compile_nopcap()" implemented atop "pcap_open_dead()".)
