tcpdump mailing list archives

Re: pcap-snoop.c patch for libpcap-1.0.0


From: Guy Harris <guy () alum mit edu>
Date: Tue, 2 Dec 2008 09:46:56 -0800


On Dec 1, 2008, at 9:16 AM, Albert Chin wrote:

pcap_activate_snoop() in pcap-snoop.c uses the variable `handle' to
access opt.buffer_size instead of what it should, `p'.
 if (handle->opt.buffer_size != 0)
   v = handle->opt.buffer_size;

Patch attached.

Checked into the main and 1.0 branches.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: