diff options
author | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-12-01 23:30:06 +0000 |
---|---|---|
committer | morriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-12-01 23:30:06 +0000 |
commit | 70a69b61e31661e59c16100cb315a69ae4cb0dfb (patch) | |
tree | 6ad3790762f0617077e9e59adb75ad4eb68a0dd6 /epan/dissectors/packet-scsi.c | |
parent | 84c4bb45353c55daaf8f7b179af42f8802026645 (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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35099 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-scsi.c')
-rw-r--r-- | epan/dissectors/packet-scsi.c | 4 |
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}, }; |