Wireshark mailing list archives

need help in proto_register_foo


From: Hardik Patel <hardik.party () gmail com>
Date: Tue, 7 May 2013 12:14:47 +0200

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

Current thread: