On Thu, May 24, 2001 at 09:18:36AM +0200, Michael Tuexen wrote:
> please find attached a new dissector for MTP3. For the time being
> it dissects ITU MTP3. I will publish a modified version with
> ANSI support next week (the hooks are already there).
> The m3ua dissector has been modified to call the mtp3 dissector.
> Therefore the packet-mtp3.h is also needed.
Actually, it's not - the MTP3 dissector can register itself by name, and
the M3UA dissector can get that handle, and call the MTP dissector
through that handle using "call_dissector()".
This also means the MTP3 dissector need not check whether the MTP3
protocol is enabled, and need not set "pinfo->current_proto"
("call_dissector()" does both of those for it).
I've checked it in with those changes (I didn't check the new
"packet-m3ua.c" in directly; it was based on an older version of
"packet-m3ua", so I diffed it with that older version, and applied the
resulting patch).
For the resulting "packet-m3ua.c", the modified "packet-mtp3.c", and a
bunch of other improvements (see the list of changes between 0.8.17 and
0.8.18 in the NEWS file), get the current Ethereal via anonymous CVS
(or, if a firewall is keeping you from using anonymous CVS, get an
anonymous CVS snapshot - the 2001-05-24 snapshot, and later snapshots,
should have them).
See
http://www.ethereal.com/development.html#anoncvs
for information on using anonymous CVS, and see
http://www.ethereal.com/development.html#snapshots
for information on the anonymous snapshots.