Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] Changing how the fields are displayed in the output of disse

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Wed, 15 Jul 2009 20:13:10 +0200
Hi,

No, that's part of the proto tree item presentation code.
All you can do is use your own formatted presentations through proto_tree_add_*_format() calls.

Thanx,
Jaap

Swapnil Barai (sbarai) wrote:
Oh, so is there any way to alter this standard presentation for my own
dissector.
Thanks for your help.

Swapnil

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Jaap Keuter
Sent: Wednesday, July 15, 2009 10:56 AM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Changing how the fields are displayed in
the output of dissector

Hi,

That is the standard presentation for header fields registered with a
BITMASK!=0

Thanx,
Jaap

Swapnil Barai (sbarai) wrote:
Yes, that's right. But which part of the source code needs to be
manipulated here I am not sure of that. As in what part of code is
causing the 000... = to appear before Qualifier.

-----Original Message-----
From: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] On Behalf Of Jaap Keuter
Sent: Wednesday, July 15, 2009 10:45 AM
To: Developer support list for Wireshark
Subject: Re: [Wireshark-dev] Changing how the fields are displayed in
the output of dissector

Hi,

Not without changing the sourcecode.

Thanx,
Jaap

Swapnil Barai (sbarai) wrote:
      Hi

      This is a sample output of wireshark SCSI dissector.

       000.... = Qualifier: Device type is connected to logical unit
(0x00)
       Qualifier being a registered field in the SCSI dissector.

Is there a way to make this output as
      Qualifier: Device type is connected to logical unit (0x00)

      Thanks