]> The Tcpdump Group git mirrors - tcpdump/commit
Change suggested by Kaarthik Sivakumar <[email protected]> -
authorguy <guy>
Tue, 16 Oct 2001 08:00:36 +0000 (08:00 +0000)
committerguy <guy>
Tue, 16 Oct 2001 08:00:36 +0000 (08:00 +0000)
commitffdc1b2bd7f451f684985747dabb07ba482664bf
tree605a56b67f9301054c3791ad36eb3142677e8ffd
parente431c374a0049a13249407158c9808493d6882b0
Change suggested by Kaarthik Sivakumar <[email protected]> -
various BGP structures have sizes that aren't multiples of the size of
the most strictly aligned type in the structure, so the compiler will
pad them out to that size; we should add #defines for the real size, if
we don't already have them, and use them rather than the result of
"sizeof".

Do that even for structures that have sizes that are multiples of the
size of the most strictly aligned type in the structure, as some
compilers (e.g., at least some versions of GCC for ARM) apparently pad
structures to multiples of 4 bytes.

Add a missing TCHECK2 call.
CREDITS
print-bgp.c