Christian Weisgerber wrote:
> As a separate issue, tcpdump wants packets to be aligned to
> sizeof(long) bytes. I guess what it gets from pcap is 4-byte
> aligned, so on LP64 archs all packets are treated as misaligned.
> I strongly suspect it should just check for 4-byte alignment, but
> haven'
When you run tcpdump on a 64-bit arch and look at UDP traffic over
IPv6 (say NTP or DNS), you'll see preposterous packet sizes.
Packets are considered misaligned, copied into a new buffer, but
one of the pointer variables isn't updated. Fix below. IPv4 is
not affected, because the equivalent fun