HomeFreeBSD

In tcpdump's print-tcp.c, avoid increasing alignment when taking the

Description

In tcpdump's print-tcp.c, avoid increasing alignment when taking the
addresses of members of struct ip, which is packed. Since the pointers
are only used for memcmp'ing, they can be pointing to void instead.

Note that upstream has removed the src and dst variables, in the mean
time.

MFC after: 3 days

Details

Provenance
dimAuthored on
Parents
rS311569: Fix comment in t4_tom. No functional change.
Branches
Unknown
Tags
Unknown