]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r311570:
authordim <dim@FreeBSD.org>
Wed, 11 Jan 2017 20:55:01 +0000 (20:55 +0000)
committerdim <dim@FreeBSD.org>
Wed, 11 Jan 2017 20:55:01 +0000 (20:55 +0000)
commitf91ff953ed87a3c6ad83c744db610b8dde2d8dc1
tree2548162bf4ff71e449bf30ec489bfd8b76d38867
parent2c09b49edf496d9ea1face9a6af2a0dcccfd55ad
MFC r311570:

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.
contrib/tcpdump/print-tcp.c