aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sccp.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2003-09-05 20:11:45 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2003-09-05 20:11:45 +0000
commit2d44a636e98e6cc355324a921b11ec014f5ea0b8 (patch)
treeb09b543d7ae72407b3766664f301d4704c05568e /packet-sccp.c
parent807e75690b6daa9dd89392711c718d43e92f096e (diff)
Fixed a bug introduced by my last update and reported for packet-mtp3.c
by Anders Broman. svn path=/trunk/; revision=8394
Diffstat (limited to 'packet-sccp.c')
-rw-r--r--packet-sccp.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/packet-sccp.c b/packet-sccp.c
index a3d78c7def..a1249ebdb0 100644
--- a/packet-sccp.c
+++ b/packet-sccp.c
@@ -8,7 +8,7 @@
*
* Copyright 2002, Jeff Morriss <jeff.morriss[AT]ulticom.com>
*
- * $Id: packet-sccp.c,v 1.12 2003/09/04 14:30:18 tuexen Exp $
+ * $Id: packet-sccp.c,v 1.13 2003/09/05 20:11:45 tuexen Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1891,17 +1891,17 @@ dissect_sccp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *sccp_tree = NULL;
/* Make entry in the Protocol column on summary display */
- switch(mtp3_standard) {
- case ITU_STANDARD:
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "SCCP (Int. ITU)");
- break;
- case ANSI_STANDARD:
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "SCCP (ANSI)");
- break;
- case CHINESE_ITU_STANDARD:
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "SCCP (Chin. ITU)");
- break;
- };
+ if (check_col(pinfo->cinfo, COL_INFO)) switch(mtp3_standard) {
+ case ITU_STANDARD:
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "SCCP (Int. ITU)");
+ break;
+ case ANSI_STANDARD:
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "SCCP (ANSI)");
+ break;
+ case CHINESE_ITU_STANDARD:
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "SCCP (Chin. ITU)");
+ break;
+ };
/* In the interest of speed, if "tree" is NULL, don't do any work not
necessary to generate protocol tree items. */