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 _______________________________________________ Wireshark-dev mailing list Wireshark-dev@wireshark.org http://www.wireshark.org/mailman/listinfo/wireshark-dev