This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

Start proto_tree_add_item( bppcp_tree @ the End of my Data Stream:

0

Via my dissector, I need to add an item to the End of my Data Block.

How can I do this?

Like so?

/ ODH TERMINATOR / bppcp_sub_item = proto_tree_add_item( bppcp_tree, hf_bppcp_cr, tvb, 0, 0, FALSE ); proto_tree_add_item( bppcp_tree, hf_bppcp_cr, tvb, 0, 0, FALSE );

asked 08 Jan '13, 13:56

jballard1979's gravatar image

jballard1979
207710
accept rate: 0%

edited 08 Jan '13, 16:01


One Answer:

0

Add an item with length 0?

answered 08 Jan '13, 14:17

Jaap's gravatar image

Jaap ♦
11.7k16101
accept rate: 14%