the-tcpdump-group / tcpdump

the TCPdump network dissector
https://www.tcpdump.org/
Other
2.73k stars 852 forks source link

ipv6: set the snapshot length for the payload correctly. #1240

Closed guyharris closed 5 days ago

guyharris commented 2 weeks ago

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.