aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-scsi-sbc.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2012-09-11 03:34:34 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2012-09-11 03:34:34 +0000
commitf238f0193d7da86b5454bb9db5a5c78e4ff76276 (patch)
treec509d722bebbf11677637f7a97f4d00038c7ade8 /epan/dissectors/packet-scsi-sbc.c
parent6c84cbde983388830297c48a637c13806cf02cc7 (diff)
SCSI: SBC, print the subcommand name in the info column for service-action-in
svn path=/trunk/; revision=44866
Diffstat (limited to 'epan/dissectors/packet-scsi-sbc.c')
-rw-r--r--epan/dissectors/packet-scsi-sbc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-scsi-sbc.c b/epan/dissectors/packet-scsi-sbc.c
index db2d036507..ee4f6491e9 100644
--- a/epan/dissectors/packet-scsi-sbc.c
+++ b/epan/dissectors/packet-scsi-sbc.c
@@ -1296,6 +1296,8 @@ dissect_sbc_serviceactionin16 (tvbuff_t *tvb, packet_info *pinfo _U_,
switch(service_action){
case SERVICE_READ_CAPACITY16:
+ col_append_str(pinfo->cinfo, COL_INFO, " READCAPACITY16");
+
proto_tree_add_text (tree, tvb, offset, 1,
"Service Action: %s",
val_to_str (service_action,
@@ -1312,6 +1314,7 @@ dissect_sbc_serviceactionin16 (tvbuff_t *tvb, packet_info *pinfo _U_,
break;
case SERVICE_READ_LONG16:
+ col_append_str(pinfo->cinfo, COL_INFO, " READ_LONG16");
proto_tree_add_text (tree, tvb, offset, 1,
"Service Action: %s",
val_to_str (service_action,
@@ -1339,6 +1342,8 @@ dissect_sbc_serviceactionin16 (tvbuff_t *tvb, packet_info *pinfo _U_,
break;
case SERVICE_GET_LBA_STATUS:
+ col_append_str(pinfo->cinfo, COL_INFO, " GET_LBA_STATUS");
+
proto_tree_add_text (tree, tvb, offset, 1,
"Service Action: %s",
val_to_str (service_action,