You need to use FT_STRING with BASE_NONE

Regards,


On Tue, May 7, 2013 at 12:14 PM, Hardik Patel <[email protected]>wrote:

> Hi,
>
> I have small problem with
>
> proto_register_foo
> {
> static hf_register_info hf[] =
> { &hf_type, { "type", "foo.type", *FT_UINT16, BASE_DEC*, NULL, 0x0, NULL,
>             HFILL }    },
> }
>
> Now i wanted to add *"string"* in case of "BASE_DEC" as my buffer data is
> representing string with 10 character.
>
> which kind of change i have to do ??
>
> Let me know changes in void dessector as well !!!
>
>
>
> Regards,
> Hardik Patel
>
> ___________________________________________________________________________
> Sent via:    Wireshark-dev mailing list <[email protected]>
> Archives:    http://www.wireshark.org/lists/wireshark-dev
> Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
>              mailto:[email protected]
> ?subject=unsubscribe
>
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <[email protected]>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:[email protected]?subject=unsubscribe

Reply via email to