This is our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.
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, 23:31

DhanuShalz's gravatar image

DhanuShalz
36101115
accept rate: 100%

edited 03 May, 03:02

grahamb's gravatar image

grahamb ♦
19.8k330205

Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×637
×16
×10

question asked: 02 May, 23:31

question was seen: 568 times

last updated: 03 May, 03:02

p​o​w​e​r​e​d by O​S​Q​A