diff options
author | Anders Broman <anders.broman@ericsson.com> | 2006-03-31 05:11:57 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2006-03-31 05:11:57 +0000 |
commit | 89de25406b57093d833fedffd9c3484d822b7071 (patch) | |
tree | 298cfb49b423cf3d9b24e2ab5dd81d6f7c62573b /epan/dissectors | |
parent | 17d995edfa81110fb003aee85cdd8d33d3219223 (diff) |
From Ming Zhang:
fix a minor error in mode_select, packet-scsi.c
svn path=/trunk/; revision=17780
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-scsi.c b/epan/dissectors/packet-scsi.c index 7a588c76ce..e723677e3d 100644 --- a/epan/dissectors/packet-scsi.c +++ b/epan/dissectors/packet-scsi.c @@ -2989,8 +2989,8 @@ dissect_spc3_modeselect10 (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, if (payload_len < 1) return; - desclen = tvb_get_guint8 (tvb, offset); - proto_tree_add_text (tree, tvb, offset, 1, + desclen = tvb_get_ntohs (tvb, offset); + proto_tree_add_text (tree, tvb, offset, 2, "Block Descriptor Length: %u", desclen); offset += 2; payload_len -= 2; |