Wireshark-dev: Re: [Wireshark-dev] proto_tree_add_item problem
From: David Dugoujon <dav176fr@xxxxxxxx>
Date: Tue, 23 Jan 2007 08:12:38 -0800 (PST)
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 up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front