Wireshark mailing list archives
Re: need help in proto_register_foo
From: Alexis La Goutte <alexis.lagoutte () gmail com>
Date: Tue, 7 May 2013 13:13:14 +0200
You need to use FT_STRING with BASE_NONE Regards, On Tue, May 7, 2013 at 12:14 PM, Hardik Patel <hardik.party () gmail com>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 <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org ?subject=unsubscribe
___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- need help in proto_register_foo Hardik Patel (May 07)
- Re: need help in proto_register_foo Alexis La Goutte (May 07)