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