]> The Tcpdump Group git mirrors - tcpdump/commit
ip: set the snapshot length for the payload correctly.
authorGuy Harris <[email protected]>
Thu, 31 Oct 2024 05:26:34 +0000 (22:26 -0700)
committerGuy Harris <[email protected]>
Thu, 31 Oct 2024 19:02:57 +0000 (12:02 -0700)
commitef2422cabbafcf1a09ffd187dea3606feecd81be
tree56ce62feb841a0d2e74d378f2f93d22f39533793
parent656675490b5d48186d4958feaec285310312036b
ip: set the snapshot length for the payload correctly.

Cut off the snapshot length to the end of the IP payload or the end of
the data in which it's contained, whichever comes first.

(cherry picked from commit a4221536d52271098acd24aad11fc6657afa76b8)
print-ip.c