aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-03-18 09:03:36 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-03-18 09:03:36 +0000
commit5233758ae47bca2df76622510a1dbf5d86c31218 (patch)
tree8bbb93570795e90808cd6775638f47bc3a6d276b
parent27b1665acdbe64b26e04c3b4ed2d482c40462b78 (diff)
from Ming Zhang
fix incorrect offset for a field in the READ ELEMENT STATUS cdb svn path=/trunk/; revision=13799
-rw-r--r--epan/dissectors/packet-scsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-scsi.c b/epan/dissectors/packet-scsi.c
index 1433cfb117..b5edbb7818 100644
--- a/epan/dissectors/packet-scsi.c
+++ b/epan/dissectors/packet-scsi.c
@@ -4246,9 +4246,9 @@ dissect_scsi_smc2_readelementstatus (tvbuff_t *tvb, packet_info *pinfo,
proto_tree_add_text (tree, tvb, offset+4, 1,
"CURDATA: %u, DVCID: %u",
(flags & 0x02) >> 1, flags & 0x01);
- proto_tree_add_text (tree, tvb, offset+5, 3,
+ proto_tree_add_text (tree, tvb, offset+6, 3,
"Allocation Length: %u",
- tvb_get_ntoh24 (tvb, offset+5));
+ tvb_get_ntoh24 (tvb, offset+6));
flags = tvb_get_guint8 (tvb, offset+10);
proto_tree_add_uint_format (tree, hf_scsi_control, tvb, offset+10, 1,
flags,