]> The Tcpdump Group git mirrors - tcpdump/commit
Use the length field in the UDP header.
authorGuy Harris <[email protected]>
Sun, 19 Oct 2014 20:42:00 +0000 (13:42 -0700)
committerGuy Harris <[email protected]>
Wed, 19 Nov 2014 08:50:25 +0000 (00:50 -0800)
commit77b9d4580106c0c6656c5f61b055dbd86b4684fb
tree4b48ce832b976dd007192223e9c28ada72a77117
parent73e82d5147c57b54cf356b8440f074647332c606
Use the length field in the UDP header.

If it's less than the length of the IP payload, use it as the size of
the UDP packet.  If it's greater than the length of the IP payload,
and we're not dissecting the payload, report the length as bad.
config.h.in
print-udp.c