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

alternate for proto_tree_add_text()

0
proto_tree_add_text(header_tree, tvb, startValue, 3, "%s: %d", val_to_str(Tag, value_string_array, "Unknown Tag:(0x%02x)"),value);

the convert_proto_tree_add_text.pl isn't considering the "%s: and %d"

it is only considering %s: and the result is invalid!

i need the alternate for the same function using proto_tree_add_item()

Thanks in advance

This question is marked "community wiki".

asked 02 May '17, 23:31

DhanuShalz's gravatar image

DhanuShalz
36101115
accept rate: 100%

edited 03 May '17, 03:02

grahamb's gravatar image

grahamb ♦
19.8k330206