[EMAIL PROTECTED] wrote:
> I've developed a dissector and it has one statement as :
> proto_tree_add_item(proto_tree, hf_xyz_any_field, tvb, offset, 16,
> FALSE);
>
>
> This statement is not getting executed , the wireshark is giving error "
> malformed packet ".
> But when I'm changing
Hi Vikash,
You should rather write
proto_tree_add_item(proto_tree,hf_xyz_any_field, tvb,
offset, 1,FALSE) because the value that you want to
display is a single byte (FT_UINT8).
David
Bored stiff? Loosen u
Hi ,
I've developed a dissector and it has one statement as :
proto_tree_add_item(proto_tree, hf_xyz_any_field, tvb, offset, 16,
FALSE);
This statement is not getting executed , the wireshark is giving error "
malformed packet ".
But when I'm changing the length ( 16 ) to smaller value ,