Guy Harris wrote:
> Guy Harris wrote:
>
>> I'll figure out what needs to be fixed, and check in a fix. When that's
>> done, try building the top-of-tree libpcap and see if that fixes it.
>
> Unless I've missed something, it was a trivial fix - just move
>
> handle->selectable_fd = handle->fd;
>
> *AFTER* the point at which handle->fd is set (points, actually, as the
> case where we're using the binary interface in memory-mapped mode
> returns early). Try the current CVS version of libpcap (1.20, or
> 1.16.2.4 on the 1.0 branch, or later).
>
> Paolo, can you use select() or poll() to wait for packets to arrive,
> even when you're using mmapped access?
I updated my libpcap from the latest cvs and together with the latest
svn wireshark revision the USB raw packet capture is working again, thank
you!
Márton Németh