]> 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:46:15 +0000 (00:46 -0800)
commit56cf7e3d5518de304161b370354f24e0a53963e2
tree9cfd4a1b5e216804f7895c15700d689244548427
parent11f235f0c9f7cea102f8151ec9eaf32edde93d43
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