diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-05-29 03:18:53 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2005-05-29 03:18:53 +0000 |
commit | aa7157462cafe23d3635809e073e6d9c28ae21a5 (patch) | |
tree | 7d3f0ab320b2caeb947b72cb8894f5221fe1d5dd /epan/dissectors/packet-scsi.c | |
parent | e66ff913ffb5801187e0832f8d5765c0227e3c51 (diff) |
remove offset and len from the signature of dissect_scsi_payload()
svn path=/trunk/; revision=14473
Diffstat (limited to 'epan/dissectors/packet-scsi.c')
-rw-r--r-- | epan/dissectors/packet-scsi.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/epan/dissectors/packet-scsi.c b/epan/dissectors/packet-scsi.c index b93bd6cb22..0f7b935e95 100644 --- a/epan/dissectors/packet-scsi.c +++ b/epan/dissectors/packet-scsi.c @@ -6460,15 +6460,17 @@ dissect_scsi_cdb (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void dissect_scsi_payload (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, - guint offset, gboolean isreq, guint32 payload_len, - guint16 lun) + gboolean isreq, guint16 lun) { + int offset=0; proto_item *ti; proto_tree *scsi_tree = NULL; guint8 opcode = 0xFF; scsi_device_type devtype; scsi_task_data_t *cdata = NULL; + int payload_len; + payload_len=tvb_length(tvb); cdata = scsi_find_task (pinfo); if (!cdata) { |