aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mtp3mg.c
diff options
context:
space:
mode:
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2003-09-05 20:11:45 +0000
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>2003-09-05 20:11:45 +0000
commitaaaa6570f5f4f3e09fb9b5f7d35841bd3b5f4693 (patch)
treeb09b543d7ae72407b3766664f301d4704c05568e /packet-mtp3mg.c
parentdc094a2b6e95e8a15357b7ab3f4f3a72d6f84696 (diff)
Fixed a bug introduced by my last update and reported for packet-mtp3.c
by Anders Broman. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8394 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-mtp3mg.c')
-rw-r--r--packet-mtp3mg.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/packet-mtp3mg.c b/packet-mtp3mg.c
index e12514d916..4a60b42955 100644
--- a/packet-mtp3mg.c
+++ b/packet-mtp3mg.c
@@ -10,7 +10,7 @@
*
* Copyright 2003, Jeff Morriss <jeff.morriss[AT]ulticom.com>
*
- * $Id: packet-mtp3mg.c,v 1.8 2003/09/04 14:30:18 tuexen Exp $
+ * $Id: packet-mtp3mg.c,v 1.9 2003/09/05 20:11:44 tuexen Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -848,17 +848,17 @@ dissect_mtp3mg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *mtp3mg_tree = NULL;
/* Make entries in Protocol column and Info column on summary display */
- switch(mtp3_standard) {
- case ITU_STANDARD:
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3MG (Int. ITU)");
- break;
- case ANSI_STANDARD:
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3MG (ANSI)");
- break;
- case CHINESE_ITU_STANDARD:
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3MG (Chin. ITU)");
- break;
- };
+ if (check_col(pinfo->cinfo, COL_INFO)) switch(mtp3_standard) {
+ case ITU_STANDARD:
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3MG (Int. ITU)");
+ break;
+ case ANSI_STANDARD:
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3MG (ANSI)");
+ break;
+ case CHINESE_ITU_STANDARD:
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3MG (Chin. ITU)");
+ break;
+ };
if (tree) {
/* create display subtree for the protocol */