]> The Tcpdump Group git mirrors - tcpdump/commit
Make the port arguments to udpipaddr_print() ints so that there can be
authorfenner <fenner>
Thu, 31 Jul 2003 23:38:20 +0000 (23:38 +0000)
committerfenner <fenner>
Thu, 31 Jul 2003 23:38:20 +0000 (23:38 +0000)
commitaa57a76df4b0a5861caefcbc0b500edc59253ee5
tree38f8206d12168f90d5bbc00abcd9d427d3baccf1
parentd75ee07998ef8ac0fc1a9a6beea2e15a3ca1f726
Make the port arguments to udpipaddr_print() ints so that there can be
 an out-of-range flag value.
Seperate out the truncation checks into two: are the ports available,
 then do all the other checks, then check to see if the full UDP header
 is available.
This is a slightly modified version of Alexander's original patch to
 instead use udpipaddr_print() to print the addresses if the ports are not
 available.

Submitted-by: Alexander Dupuy
Sourceforge bug #579811
print-udp.c