Ethereal-users: Re: [Ethereal-users] Ethereal Decoding Bug (MTP3)

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

From: Jeff Morriss <jeff.morriss@xxxxxxxxxxx>
Date: Fri, 20 May 2005 15:37:14 +0200


Andreas Fink wrote:
Hello,

I'm decoding a M2PA/MTP3 link.
While doing so I discovered a small bug in MTP3.
The preferences allow the display of the number to be set to various formats like 3-8-3 or 4-3-4-3.
This works great for MTP3 routing labels.
However I see a MTP3 Management packet called TPA
H0="Transfer prohibited-allowed-restricted messages (0x04)
H1="Transfer-prohibited signal 0x01"

This packet contains a field called "Affected Pointcode (ITU)". This field is not being printed in the format set by the preferences but just as decimal number which is very annoying. I was trying to fix this but I always run into a failed assertion hfinfo->type == FT_STRING || hfinfo->type == FT_STRINGZ. Anyone has a quick patch for this? Should be pretty straightforward if you know the code well I guess.

It looks like the MTP3-Management dissector ("packet-mtp3mg.c") needs some calls to 'mtp3_pc_to_str()' (similar to what's in "packet-mtp3.c").

I don't have time to do this now; could you submit a bug report:

http://bugs.ethereal.com/bugzilla/

for this issue (unless someone else can get to this soon)?