Ethereal-dev: Re: [Ethereal-dev] small idl2eth update

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

From: Guy Harris <gharris@xxxxxxxxx>
Date: Wed, 19 Dec 2001 00:57:04 -0800
On Tue, Dec 18, 2001 at 02:17:38PM +0100, Bernd Becker wrote:
> The correct solution to this would probably be to only set the
> columns and insert the subtree in the protocol tree after
> succesfull dissection.

Unfortunately, a successful dissection involves adding stuff to the
subtree....

I suspect the answer is, at least for heuristic dissectors, to have the
subdissector create the subtree only if it's decided that it'll return
TRUE.  It should also set the Protocol column only if it's decided that.