On Sun, Mar 04, 2001 at 01:03:22PM -0800, Joe Amici wrote:
> I am using libpcap on Linux for a simple application
> that reads off tcp packets. Do I need to take care of
> misalignment of IP datagrams like tcpdump does (in
> print-ip.c) I would also appreciate if you could
> educate me on the source of this alignment problem
There is a Debian bug report (#82868) about this as well and I have to
say I have not idea what's going on here. From the report:
| tcpdump: listening on eth1
| tcpdump: WARNING: compensating for unaligned libpcap packets
I can't reproduce this here and I did not yet check the source.
Perhaps this is really simple? Can somebody enlighten me?
Thanks
Torsten
PGP signature