Ethereal-dev: Re: [Ethereal-dev] CHECK_DISPLAY_AS_DATA for heuristic dissectors?

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

From: Guy Harris <guy@xxxxxxxxxx>
Date: Mon, 6 Nov 2000 19:03:29 -0800 (PST)
> One question I have is, what is the equivalent macro for:
> CHECK_DISPLAY_AS_DATA ()
> for heuristic dissectors?

There isn't an equivalent macro.

The equivalent code is

	if (!proto_is_protocol_enabled(proto_giop))
		return FALSE;	/* GIOP has been disabled */

early in the dissector.