Wireshark-dev: [Wireshark-dev] need help in proto_register_foo
From: Hardik Patel <hardik.party@xxxxxxxxx>
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