aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Morriss <jeff.morriss@ulticom.com>2010-12-01 23:30:06 +0000
committerJeff Morriss <jeff.morriss@ulticom.com>2010-12-01 23:30:06 +0000
commita098de3e0a9ed4742bdcb1140bb8e0f338d07546 (patch)
tree6ad3790762f0617077e9e59adb75ad4eb68a0dd6
parent2b77738b1101310f10d0d30feb7368764fbb26be (diff)
From Zachary Mark via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5457 :
The scsi_persresv_type_val field in packet-scsi.c contains a mapping of persistent reservation opcodes to their descriptive types. The opcode for the Exclusive Access - Registrants Only field is incorrectly set to 7, when the correct opcode is 6 (as per SPC-2 onward). The attached patch corrects this discrepancy. The attached patch also adds support for dissecting opcodes 7 and 8, the two all registrants reservation types present in SPC-3 onward. svn path=/trunk/; revision=35099
-rw-r--r--epan/dissectors/packet-scsi.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-scsi.c b/epan/dissectors/packet-scsi.c
index bf23fe02b3..016f9b0e56 100644
--- a/epan/dissectors/packet-scsi.c
+++ b/epan/dissectors/packet-scsi.c
@@ -993,7 +993,9 @@ static const value_string scsi_persresv_type_val[] = {
{1, "Write Excl"},
{3, "Excl Access"},
{5, "Write Excl, Registrants Only"},
- {7, "Excl Access, Registrants Only"},
+ {6, "Excl Access, Registrants Only"},
+ {7, "Write Excl, All Registrants"},
+ {8, "Excl Access, All Registrants"},
{0, NULL},
};