Wireshark-dev: Re: [Wireshark-dev] Problem with a flag in a 32 bit field
From: Graham Bloice <graham.bloice@xxxxxxxxxxxxx>
Date: Thu, 14 Oct 2010 15:14:47 +0100
On 14/10/2010 15:05, Christopher Maynard wrote:
Graham Bloice <graham.bloice@...> writes:

        and the hf def is:
          { &hf_item,
          { "A flag", "dissector.flag", FT_BOOLEAN, 32,
        TFS(&tfs_set_notset), 0x8000, "A flag", HFILL }},
          
Does this work?

{ &hf_item,
{ "A flag", "dissector.flag", FT_BOOLEAN, 32, TFS(&tfs_set_notset), 0x80000000,
"A flag", HFILL }},


Doh!  Of course it does.  Thanks Chris.

-- 
Regards,

Graham Bloice