Ethereal-dev: Re: [Ethereal-dev] tethereal doesn't seem to dissect all layers

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

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Thu, 27 Nov 2003 14:53:22 -0800
On Thu, Nov 27, 2003 at 02:48:24PM -0800, Michael Lum wrote:
> I can see some output from the SCCP-Lite dissector, but none of the
> packets that contain SCCP data.

Your SCCP-Lite dissector is calling the subdissector *regardless* of
whether "tree" is null or not, right?

If not, that's a bug - subdissectors should *always* be called;
otherwise, if a protocol tree isn't being built, the subdissectors won't
be called.  If you're only showing the summary in Tethereal - or when
the file is being read in in Ethereal without color filters, taps with
filters, or a read filter - a protocol tree is *not* built.