Ethereal-dev: Re: [Ethereal-dev] COTP TSAP fields

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, 24 May 2004 00:54:13 -0700
On Fri, May 14, 2004 at 09:32:26PM +0100, matthew.bradley@xxxxxxxxxxxxx wrote:
> * I have added a new preference option to the dissector, tsap_display that
> has three settings: auto, string or bytes. If the option is set to default,
> then the choice of which field to make hidden will be determined by the "is
> it ASCII and printable" routine. If 'string', then it will always be the
> cotp.src-tsap-bytes and cotp.dst-tsap-bytes that hidden; if 'bytes' then it
> will always be cotp.src-tsap and cotp.dst-tsap bytes that are hidden. The
> default is 'auto'.

Is there a case where "string" would give the right answer and "auto"
wouldn't - i.e., a place where the TSAP should be displayed as ASCII
even though not all the bytes in it are ASCII characters?

If not, then only "auto" and "bytes" would be needed.