summaryrefslogtreecommitdiff
path: root/packet-sccpmg.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2003-09-04 14:30:18 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2003-09-04 14:30:18 +0000
commit16d75dc6fe8d214ae3760e8020c24142c5d4d254 (patch)
tree9160de5f6fe3402d7eef8f0cf43788547bd23f9a /packet-sccpmg.c
parent11274846f9ee69781379b4e286f995e39d04dacf (diff)
downloadwireshark-16d75dc6fe8d214ae3760e8020c24142c5d4d254.tar.gz
Indicate the Standard (ITU, ANSI, Chin. ITU) in the protocol column.
svn path=/trunk/; revision=8370
Diffstat (limited to 'packet-sccpmg.c')
-rwxr-xr-xpacket-sccpmg.c15
1 files changed, 12 insertions, 3 deletions
diff --git a/packet-sccpmg.c b/packet-sccpmg.c
index cc2200bfe8..d29febeaa9 100755
--- a/packet-sccpmg.c
+++ b/packet-sccpmg.c
@@ -8,7 +8,7 @@
*
* Copyright 2002, Jeff Morriss <jeff.morriss[AT]ulticom.com>
*
- * $Id: packet-sccpmg.c,v 1.5 2003/04/22 13:47:38 tuexen Exp $
+ * $Id: packet-sccpmg.c,v 1.6 2003/09/04 14:30:18 tuexen Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -285,8 +285,17 @@ dissect_sccpmg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *sccpmg_tree = NULL;
/* Make entry in the Protocol column on summary display */
- if (check_col(pinfo->cinfo, COL_PROTOCOL))
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "SCCPMG");
+ switch(mtp3_standard) {
+ case ITU_STANDARD:
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "SCCPMG (Int. ITU)");
+ break;
+ case ANSI_STANDARD:
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "SCCPMG (ANSI)");
+ break;
+ case CHINESE_ITU_STANDARD:
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "SCCPMG (Chin. ITU)");
+ break;
+ };
/* In the interest of speed, if "tree" is NULL, don't do any work not
necessary to generate protocol tree items. */