]> The Tcpdump Group git mirrors - tcpdump/commit
Include the metadata *and* link-layer header in the header length.
authorGuy Harris <[email protected]>
Tue, 14 Apr 2015 21:36:23 +0000 (14:36 -0700)
committerGuy Harris <[email protected]>
Tue, 14 Apr 2015 21:36:23 +0000 (14:36 -0700)
commit9106400d038224a4f2b6c5ded816dea6204741db
tree4e98bf2a6ce2ada1d7bada41384a3ea5d4ea0494
parent7b72de52ddea5b2739ba9871545116318c508c5a
Include the metadata *and* link-layer header in the header length.

Also, don't use the length of the fixed-length portion of the PPI header
as the metadata length, use the *entire* length.

Otherwise, "-x" doesn't start printing at the link-layer payload.
CHANGES
print-ppi.c