diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-10-09 08:31:04 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-10-09 08:31:04 +0000 |
commit | dfc0a650028470b1084f9f061ff0bdf60b4cbe37 (patch) | |
tree | c45aeae865d10fc971fce332d0e0f4306e3d4d66 | |
parent | 410830c4e3e47fb506c2d792ab10f9ddd38e747d (diff) |
from Joe Breher
This patch fixes a transposition of the orders of
Set Attribute Number
Set Attribute Length
In the page oriented get and set attributes CDB parameters format
Ref SCSI-OSD T10/1355-D Revision 10 section 5.2.2.2
svn path=/trunk/; revision=19460
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | epan/dissectors/packet-scsi-osd.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -2658,6 +2658,7 @@ Ian Abel <ianabel [AT] mxtelecom.com> Bryant Eastham <beastham [AT] slc.mew.com> Taner Kurtulus <taner.kurtulus [AT] tubitak.gov.tr> Alex Burlyga <Alex.Burlyga [AT] netapp.com> +Joe Breher <linux [AT] q-music.com> Alain Magloire <alainm[AT]rcsm.ece.mcgill.ca> was kind enough to give his permission to use his version of snprintf.c. diff --git a/epan/dissectors/packet-scsi-osd.c b/epan/dissectors/packet-scsi-osd.c index 6f268fc670..86b770aec6 100644 --- a/epan/dissectors/packet-scsi-osd.c +++ b/epan/dissectors/packet-scsi-osd.c @@ -220,10 +220,10 @@ dissect_osd_attribute_parameters(tvbuff_t *tvb, int offset, proto_tree *parent_t offset+=4; proto_tree_add_item(tree, hf_scsi_osd_set_attributes_page, tvb, offset, 4, 0); offset+=4; - proto_tree_add_item(tree, hf_scsi_osd_set_attribute_length, tvb, offset, 4, 0); - offset+=4; proto_tree_add_item(tree, hf_scsi_osd_set_attribute_number, tvb, offset, 4, 0); offset+=4; + proto_tree_add_item(tree, hf_scsi_osd_set_attribute_length, tvb, offset, 4, 0); + offset+=4; proto_tree_add_item(tree, hf_scsi_osd_set_attributes_offset, tvb, offset, 4, 0); offset+=4; break; |