diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2007-10-03 15:00:58 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2007-10-03 15:00:58 +0000 |
commit | 05043ca65dd06a9e4e055cf802b8211984768c49 (patch) | |
tree | 1fd7c02818cf81eef016878cce22417da463f6d0 /epan | |
parent | a592e6412ca6ecf71129fbf12a3de46a327239e6 (diff) |
Use correct offset for sccs, bque and reladdr flags.
svn path=/trunk/; revision=23059
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-scsi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-scsi.c b/epan/dissectors/packet-scsi.c index 77313f0a53..c7430beb39 100644 --- a/epan/dissectors/packet-scsi.c +++ b/epan/dissectors/packet-scsi.c @@ -2144,13 +2144,13 @@ dissect_spc_inquiry (tvbuff_t *tvb, packet_info *pinfo, offset_v+=1; /* sccs flags */ - offset_v=dissect_spc_inq_sccsflags(tvb_v, offset, tree); + offset_v=dissect_spc_inq_sccsflags(tvb_v, offset_v, tree); /* bque flags */ - offset_v=dissect_spc_inq_bqueflags(tvb_v, offset, tree); + offset_v=dissect_spc_inq_bqueflags(tvb_v, offset_v, tree); /* reladdr flags */ - offset_v=dissect_spc_inq_reladrflags(tvb_v, offset, tree); + offset_v=dissect_spc_inq_reladrflags(tvb_v, offset_v, tree); /* vendor id */ proto_tree_add_item(tree, hf_scsi_inq_vendor_id, tvb_v, offset_v, 8, 0); |