tcpdump mailing list archives

Re: pcap_next() caplen is off by 14 bytes (L2 len)


From: "Aaron Turner" <synfinatic () gmail com>
Date: Tue, 20 Mar 2007 21:38:18 -0700

Oops... pcap.h moved to pcap/pcap.h since 0.9.5...   This patch
properly handles that.

--
Aaron Turner
http://synfin.net/
http://tcpreplay.synfin.net/ - Pcap editing & replay tools for Unix

On 3/20/07, Aaron Turner <synfinatic () gmail com> wrote:
Well here's a quick patch (against CVS:HEAD) implementing
pcap_snapshot_override().  I did a quick test and it solves my
specific problem.  If you accept it, let me know if you decide to keep
the function name, so that I can make sure my code is forwards
compatible.  If there's anything you don't like, let me know and I'll
be happy to fix it.
-
This is the tcpdump-workers list.
Visit https://cod.sandelman.ca/ to unsubscribe.


Current thread: