ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [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: "Maynard, Chris" <Christopher.Maynard@xxxxxxxxx>
Date: Fri, 25 Jun 2004 15:12:27 -0400
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.