summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKlaus Kurzmann <mok@fluxnetz.de>2011-04-08 16:07:27 +0200
committerKlaus Kurzmann <mok@fluxnetz.de>2011-04-08 16:07:27 +0200
commitbbd0e1985df04715c359221be178b5cbe0780873 (patch)
treedaf75498110f9b7cb5d9093559100b325811d02e
parent67c0c32e91db0056fd3aaf5ee485880698d12702 (diff)
downloadisi-wireshark-plugin-bbd0e1985df04715c359221be178b5cbe0780873.tar.bz2
isi-mtc: say in the info column if it's a request or a response
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
-rw-r--r--src/isi-mtc.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/isi-mtc.c b/src/isi-mtc.c
index be87a44..b800ef9 100644
--- a/src/isi-mtc.c
+++ b/src/isi-mtc.c
@@ -186,36 +186,36 @@ static void dissect_isi_mtc(tvbuff_t *tvb, packet_info *pinfo, proto_item *isitr
switch (cmd) {
case 0x01: /* MTC_STATE_REQ */
proto_tree_add_item(tree, hf_isi_mtc_target_state, tvb, 1, 1, FALSE);
- col_set_str(pinfo->cinfo, COL_INFO, "MTC State");
+ col_set_str(pinfo->cinfo, COL_INFO, "MTC State Request");
break;
case 0x64: /* MTC_STATE_RESP */
proto_tree_add_item(tree, hf_isi_mtc_status, tvb, 1, 1, FALSE);
- col_set_str(pinfo->cinfo, COL_INFO, "MTC State");
+ col_set_str(pinfo->cinfo, COL_INFO, "MTC State Response");
break;
case 0x02: /* MTC_STATE_QUERY_REQ */
- col_set_str(pinfo->cinfo, COL_INFO, "MTC State Query");
+ col_set_str(pinfo->cinfo, COL_INFO, "MTC State Query Request");
break;
case 0x65: /* MTC_STATE_QUERY_RESP */
proto_tree_add_item(tree, hf_isi_mtc_current_state, tvb, 1, 1, FALSE);
proto_tree_add_item(tree, hf_isi_mtc_target_state, tvb, 2, 1, FALSE);
- col_set_str(pinfo->cinfo, COL_INFO, "MTC State Query");
+ col_set_str(pinfo->cinfo, COL_INFO, "MTC State Query Response");
break;
case 0x03: /* MTC_POWER_OFF_REQ */
- col_set_str(pinfo->cinfo, COL_INFO, "MTC Power Off");
+ col_set_str(pinfo->cinfo, COL_INFO, "MTC Power Off Request");
break;
case 0x66: /* MTC_POWER_OFF_RESP */
proto_tree_add_item(tree, hf_isi_mtc_status, tvb, 1, 1, FALSE);
- col_set_str(pinfo->cinfo, COL_INFO, "MTC Power Off");
+ col_set_str(pinfo->cinfo, COL_INFO, "MTC Power Off Response");
break;
case 0x0B: /* MTC_STARTUP_SYNQ_REQ */
- col_set_str(pinfo->cinfo, COL_INFO, "MTC Startup Synq");
+ col_set_str(pinfo->cinfo, COL_INFO, "MTC Startup Synq Request");
break;
case 0x6E: /* MTC_STARTUP_SYNQ_RESP */
proto_tree_add_item(tree, hf_isi_mtc_status, tvb, 1, 1, FALSE);
- col_set_str(pinfo->cinfo, COL_INFO, "MTC Startup Synq");
+ col_set_str(pinfo->cinfo, COL_INFO, "MTC Startup Synq Response");
break;
case 0x12: /* MTC_SHUTDOWN_SYNC_REQ */
- col_set_str(pinfo->cinfo, COL_INFO, "MTC Shutdown Sync");
+ col_set_str(pinfo->cinfo, COL_INFO, "MTC Shutdown Sync Request");
break;
case 0xC0: /* MTC_STATE_INFO_IND */
proto_tree_add_item(tree, hf_isi_mtc_current_state, tvb, 1, 1, FALSE);