Wireshark-bugs: [Wireshark-bugs] [Bug 8573] New Dissector Patch - PTP/IP
Date: Sun, 05 May 2013 21:03:53 +0000

Comment # 28 on bug 8573 from
(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.