Wireshark-bugs: [Wireshark-bugs] [Bug 8313] new dissector for SML protocol

Date: Fri, 15 Feb 2013 16:29:13 +0000

Comment # 19 on bug 8313 from
proto_tree_add_bytes_format (insert_tree, hf_sml_globalSignature, tvb, *offset,
*length + *data, FALSE, "global Signature %s", (*data == 0)? ": NOT SET" : "");

is this not allowed?

It's simply FALSE instead a pointer and the field is still searchable if its
not set. Otherwise i have to use a simple proto_tree_add_text or
proto_tree_add_item + append text if it's not set.


You are receiving this mail because:
  • You are watching all bug changes.