path: root/gtk
diff options
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-05-05 22:01:45 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-05-05 22:01:45 +0000
commit7521c5a32c85ec4c103bf28c4956ba04f0a1e2bd (patch)
tree543bc200f91f592024ccc60f7255420537c259e7 /gtk
parent6f6bd1f10a0a18d6341cea0c2f8ca0bfc11ebb86 (diff)
update the itl structure so that it sets the cmdset field to the current command set even for the case where we have not detected it by seeing the inquiry response.
Make teh msb of the cmdset variable indicate whether we detected the commandset from the trace or whether we used the default value from preferences. indicate in the dissection of the packet whether the command set is "known" or whether we are using the default one. make scsi srt stats work even for when we are using the "default" dommandset. Previously scsi srt would ignore all pdus for itl sessions where the "default" command set was used. svn path=/trunk/; revision=18098
Diffstat (limited to 'gtk')
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/scsi_stat.c b/gtk/scsi_stat.c
index 5411fd0d99..3f75a0d9a6 100644
--- a/gtk/scsi_stat.c
+++ b/gtk/scsi_stat.c
@@ -123,7 +123,7 @@ scsistat_packet(void *arg, packet_info *pinfo, epan_dissect_t *edt _U_, const vo
return 0;
/* we are only interested in a specific commandset */
- if( (!ri->itl) || (ri->itl->cmdset!=rs->cmdset) ){
+ if( (!ri->itl) || ((ri->itl->cmdset&SCSI_CMDSET_MASK)!=rs->cmdset) ){
return 0;
/* check that the opcode looks sane */