Wireshark-bugs: [Wireshark-bugs] [Bug 8573] New Dissector Patch - PTP/IP
Date: Mon, 06 May 2013 00:35:54 +0000

changed bug 8573

What Removed Added
Attachment #10717 is obsolete   1

Comment # 29 on bug 8573 from
Created attachment 10720 [details]
The patch

(In reply to comment #28)
> (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");

Changed in the latest patch.


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