tcpdump mailing list archives

Re: Multiple call to pcap_open_live


From: Benjamin Vanheuverzwijn <bvanheu () gmail com>
Date: Mon, 18 Nov 2013 17:16:34 -0500

On Mon, Nov 18, 2013 at 5:14 PM, Guy Harris <guy () alum mit edu> wrote:


On Nov 18, 2013, at 2:06 PM, Benjamin Vanheuverzwijn <bvanheu () gmail com>
wrote:

I've just tested against libpcap commit
11031d0f71387161c282248cddc2fa0f7bf014ce (Mon Nov 11 11:21:43 2013 -0800)
that i got from here https://github.com/the-tcpdump-group/libpcap.git and
the problem still exists.

It's still doing stuff with /sys/bus/usb?

If you add

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

to your test program (outside the loop), what does it print?


Ooops my bad, i've done LD_LIBRARY_PATH=/usr/local/lib, before sudo'ing ;)

i can confirm it is fixed in the git version!

Thanks for your help guys!

-- 
Benjamin Vanheuverzwijn
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers


Current thread: