aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-10-09 08:31:04 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-10-09 08:31:04 +0000
commitdfc0a650028470b1084f9f061ff0bdf60b4cbe37 (patch)
treec45aeae865d10fc971fce332d0e0f4306e3d4d66
parent410830c4e3e47fb506c2d792ab10f9ddd38e747d (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--AUTHORS1
-rw-r--r--epan/dissectors/packet-scsi-osd.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index 35d36d80d3..76da67cd9e 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -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;