Wireshark-bugs: [Wireshark-bugs] [Bug 8843] [PATCH] Update scsi sbc-3 dissector with support for

Date: Tue, 02 Jul 2013 20:32:59 +0000

Comment # 3 on bug 8843 from
(In reply to comment #1)
> A few comments:
> 
> That "if(!tree) return" statement needs to be removed because the column
> values are set below that (column stuff must be set regardless of whether we
> have a tree or not).
> 
> There are a couple new proto_tree_add_text()'s in here which look like they
> should be adding real (filterable) items--why not use proto_tree_add_item()?
> 
> I think that tvb_length_remaining() call should actually be
> tvb_reported_length_remaining() (in case there a capture is taken with a
> snapshot length.
> 
> Also, could you provide a sample capture which demonstrates the new code?

I can do the changes you asked for, but I based my code on the
dissect_sbc_serviceactionin16 code which is already in the same file. Since
this is already in the repo, I assumed this was the correct approach to do it.
I suppose changes will have to made to both ? Will provide sample capture


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