aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mtp3mg.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-09-06 00:05:30 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-09-06 00:05:30 +0000
commit67a13f229f6dd4e4cd2789b886c253890836ecfe (patch)
tree70e6449fafc1b58909b5a35197845612fa1846bf /packet-mtp3mg.c
parente7fa3fa98a169b63e1e8743d6700dd1dca49cb31 (diff)
Fix a comment.
Check COL_PROTOCOL, not COL_INFO, before updating COL_PROTOCOL. Fix up white space. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@8399 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-mtp3mg.c')
-rw-r--r--packet-mtp3mg.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/packet-mtp3mg.c b/packet-mtp3mg.c
index 4a60b42955..1d4afcd463 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.9 2003/09/05 20:11:44 tuexen Exp $
+ * $Id: packet-mtp3mg.c,v 1.10 2003/09/06 00:05:30 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -847,8 +847,9 @@ dissect_mtp3mg(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
proto_item *mtp3mg_item = NULL;
proto_tree *mtp3mg_tree = NULL;
- /* Make entries in Protocol column and Info column on summary display */
- if (check_col(pinfo->cinfo, COL_INFO)) switch(mtp3_standard) {
+ /* Make entries in Protocol column on summary display */
+ if (check_col(pinfo->cinfo, COL_PROTOCOL))
+ switch(mtp3_standard) {
case ITU_STANDARD:
col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3MG (Int. ITU)");
break;