Ethereal-dev: Re: [Ethereal-dev] UDP port display

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Michael Tuexen <Michael.Tuexen@xxxxxxxxxxxxxxxxx>
Date: Fri, 25 Jun 2004 22:08:27 +0200
Chris,

if you click on the port number you can see the hex string in the
lowest pane of the ethereal window as big endian hex...

Best regards
Michael

On Jun 25, 2004, at 9:12 PM, Maynard, Chris wrote:

If a given udp port does not have a name associated with it,
epan/resolve.c:get_udp_port() simply returns a string containing the decimal value of the port number. However, in that case, the udp dissector ends up displaying the decimal port value twice, as in "decimalport (decimalport)",
in both the udp summary tree and the individual "Source port:" and
"Destination port:" fields.

Does anyone else like the idea of displaying something like
"decimalport (hexport)" instead, or perhaps to make things simpler, it could display "decimalport (decimalport/hexport)", so that even if the port names
are displayed, you'll still get both decimal & hex displayed?

Chris


-----------------------------------------
This email may contain confidential and privileged material for the sole use of the intended recipient(s). Any review, use, retention, distribution or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender by reply email and delete all copies of this message. Also, email is susceptible to data corruption, interception, tampering, unauthorized amendment and viruses. We only send and receive emails on the basis that we are not liable for any such corruption, interception, tampering, amendment or viruses or any consequence thereof.

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev