Ethereal-dev: Re: [ethereal-dev] DIsplay of flags in packet pane

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

From: Ben Fowler <wapdev@xxxxxxxxxxxx>
Date: Sat, 22 Apr 2000 16:20:20 +0100
At 08:56 AM 4/12/00, Guy Harris wrote:
I think that would be done by declaring "Continuation" as something such
as

        { &hf_wap_flags_continuation,
          { "Continuation", "wap.flags.continuation", FT_BOOLEAN, 8,
            TFS(&flags_continuation_truth), 0x80, "" } }

This is part of my problem (or to be precise Guy's help is part of
my solution). I had the display parameter as BASE_NONE as I was
not using a base. The README.developer document mentions that
the display parameter is used as the width, but I had somehow not taken
this in.

Once I started to use 8, or perhaps 8 * sizeof( flag_field ), things began to
look a lot better.

Ben.


--
Leedsnet - The information resource for Leeds and the West Riding
< URL:http://www.leedsnet.com/mobile/ >