Ethereal-dev: Re: [Ethereal-dev] CHECK_DISPLAY_AS_DATA

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: Mon, 26 Nov 2001 23:25:41 -0800
On Sun, Nov 25, 2001 at 01:05:18PM -0800, Guy Harris wrote:
> If the conversation-dissector code were changed so that a dissector
> handle, rather than a pointer to the dissector function, were handed to
> "conversation_set_dissector()" as an argument, many of the calls to
> "CHECK_DISPLAY_AS_DATA()" could be eliminated;

I've done that...

> some others could
> probably be eliminated with no other code changes,

...and that...

> and others could
> probably be eliminated if calls were made through a handle.

...and that.

> "dissect_ieee80211_mgt()" would take some more work, though.

I haven't done that.  It now has the *only* call to
"CHECK_DISPLAY_AS_X()" in Ethereal.