On Thu, Dec 28, 2000 at 02:06:27AM -0800, Guy Harris wrote:
> Given that, it seems to me as if removing the "select()" is, in fact,
> the right thing to do,

I've removed the "select()" from "pcap-linux.c".

I've also fixed the "pcap" man page to reflect the actual behavior of
"pcap_dispatch()".  The man page has claimed for quite a while (at least
as far back as LBL libpcap 0.4) that "A cnt of 0 processes all packets
until an error occurs, EOF is reached, or the read times out (when doing
live reads and a non-zero read timeout is specified)." but, in fact,
going back at least as far as LBL libpcap 0.4, "pcap_dispatch()" would
*not* loop forever - it would read one bufferful of data from the OS and
then process it.
-
This is the TCPDUMP workers list. It is archived at
http://www.tcpdump.org/lists/workers/index.html
To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe

Reply via email to