aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-fc.c
diff options
context:
space:
mode:
authorsahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-04-06 08:33:08 +0000
committersahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7>2006-04-06 08:33:08 +0000
commit8d1d518ac403bbc96f05eb803cad26b75093609b (patch)
treeb2e56bc35e59faea8d9533909276cb326d8c81ec /epan/dissectors/packet-fc.c
parentd81d1aef5c2916fcd94c5f7b5b357823c262408b (diff)
add a field for storing the scsi opcode in the exchange struct.
it is silly that scsi has to track these things itself when all the transports already keep track of exchanges. the scsi transports should all use the fc_exchange_data structure to pass lun to scsi and where scsi kan store the opcode between requests and data/response packets git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@17829 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-fc.c')
-rw-r--r--epan/dissectors/packet-fc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/dissectors/packet-fc.c b/epan/dissectors/packet-fc.c
index 274c9254dc..33c18d20cc 100644
--- a/epan/dissectors/packet-fc.c
+++ b/epan/dissectors/packet-fc.c
@@ -674,6 +674,7 @@ dissect_fc_helper (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, gboolean
fc_ex->first_exchange_frame=0;
fc_ex->last_exchange_frame=0;
fc_ex->lun=0xffff;
+ fc_ex->scsi_opcode=0xffff;
fc_ex->fc_time=pinfo->fd->abs_ts;
se_tree_insert32(fc_conv_data->exchanges, fchdr.oxid, fc_ex);
}