--- Begin Message ---
What happens if you put

        printf("Version: %s\n", pcap_lib_version());

before the pcap_lookupdev() call?

It won't fix the pcap_lookupdev() call not to return NULL, but it'll indicate 
what version of libpcap your program is using, which might help determine what 
the problem is.  Let us know what the "Version:" output is.

--- End Message ---
tcpdump-workers mailing list

Reply via email to