]> The Tcpdump Group git mirrors - tcpdump/commit
Return caplen for too-short packets.
authorGuy Harris <[email protected]>
Mon, 19 Mar 2018 18:40:42 +0000 (11:40 -0700)
committerGuy Harris <[email protected]>
Mon, 19 Mar 2018 18:40:42 +0000 (11:40 -0700)
commit28b4ea1f3498ce4a4e9c5b45a59ed398c790110a
tree768026a02af7f95f1c8de6e6e2b8a4f83fb2e555
parent56e6581c34ceec5469b9f37c19b31a36b0256f3c
Return caplen for too-short packets.

That way, if we don't have a full PKTAP header, we don't print anything
in the -x/-X hex dump or -A ASCII dump (but do print it with
-xx/-XX/-AA).
print-pktap.c