Ethereal-dev: Re: [Ethereal-dev] patch to M3UA to call MTP3 dissector even when !tree

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: Tue, 28 Jan 2003 00:04:38 +0100
Jeff,

if I load my example file with the command given by you I DO see the
correct entry in the Info Column. I'm not using any Display filter.
What am I doing wrong to reproduce the bug you fixed? I just want to make
sure that I can test the stuff in the future.
Thanks for any hints.

Best regards
Michael

On Monday, Jan 27, 2003, at 23:02 Europe/Berlin, Jeff Morriss wrote:


Hi Michael,

If I load a sample capture file (actually 'snoop' output from one of our testers) like this (without a preferences file for the moment):

./ethereal -omtp3.standard:ITU -om3ua.version:"Internet Draft version 5" -r snoop.out.gz

the Protocol field says "M3UA" and I don't see (SCCP) UDTs in the Info column.

If I then add a filter (e.g., "m3ua" or "mtp3") the Protocol column gets set to SCCP and I see UDTs in the Info column. (Also the protocol tree lists MTP3, SCCP, etc.)

Regards,
-Jeff

Michael Tuexen wrote:
Hi Jeff,
I have a capture file with version 05 M3UA in it. When I load it without any display
filter all upper layers (up to SCCPMGT) are displayed.
Could you tell me under which condition the current version of the M3UA dissector does not work, i.e. does not see the upper layer. thank you very much for the
clarification.
Best regards
Michael
On Monday, Jan 27, 2003, at 21:24 Europe/Berlin, Jeff Morriss wrote:

Hi list, hi Michael,

Right now MTP3 (and higher protocols) only get dissected on version -05 and -06 M3UA messages if there is a filter.

Here's a patch to the M3UA dissector which pushes down the "if (!tree)" evaluation so that the MTP3 dissector will be called even when 'tree' is NULL (e.g., when there is no filter).

Regards,
-Jeff

--
Jeff Morriss
Senior Software Support Engineer
Ulticom, Inc.
Helpdesk: +1-856-787-2765
Fax: +1-856-222-9947
<packet-m3ua.c.patch.gz>


--
Jeff Morriss
Senior Software Support Engineer
Ulticom, Inc.
Helpdesk: +1-856-787-2765
Fax: +1-856-222-9947