Comment # 28
on bug 8573
from Evan Huus
(In reply to comment #26)
> For passing a length of -1, are you refering the the line the following line
> of code:
> item_ptr = proto_tree_add_protocol_format(tree, proto_ptpIP, tvb, offset,
> tvb_length_remaining(tvb,offset), "Picture Transfer Protocol");
Yes. That code can be simplified to:
item_ptr = proto_tree_add_protocol_format(tree, proto_ptpIP, tvb, offset,
-1, "Picture Transfer Protocol");
You are receiving this mail because:
- You are watching all bug changes.