aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/scsi_stat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/scsi_stat.c')
-rw-r--r--gtk/scsi_stat.c2
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 */