Wireshark-dev: Re: [Wireshark-dev] Custom dissector causing wireshark to crash
From: didier <dgautheron@xxxxxxxx>
Date: Tue, 25 Aug 2009 23:23:47 +0200
Hi,
Le mardi 25 août 2009 à 17:00 -0400, Patrick Lannigan a écrit :
The init looks wrong to me:
> Here is the hf array construction, can anyone see what the error is?
> 
>         { &hf_abc_txPower, 
>             { "txPower", "abc.txPower",
>             FT_UINT8, BASE_DEC,
>             "Transmit power for message in dBm",
>             0x0, NULL, HFILL }
>         },
Should be
        { &hf_abc_txPower, 
            { "txPower", "abc.txPower",
            FT_UINT8, BASE_DEC,
            NULL,0x0, 
            "Transmit power for message in dBm",
	   , HFILL }
        },

Didier