Check COL_PROTOCOL, not COL_INFO, before updating COL_PROTOCOL.
authorGuy Harris <guy@alum.mit.edu>
Fri, 5 Sep 2003 23:54:10 +0000 (23:54 -0000)
committerGuy Harris <guy@alum.mit.edu>
Fri, 5 Sep 2003 23:54:10 +0000 (23:54 -0000)
svn path=/trunk/; revision=8396

packet-mtp3.c

index 0c5f93f01c67971dbeac51f313ac07e839fb298a..4db312c28f92da9d795ca174bca8618a25bb9e9b 100644 (file)
@@ -9,7 +9,7 @@
  * Copyright 2001, Michael Tuexen <tuexen [AT] fh-muenster.de>
  * Updated for ANSI and Chinese ITU support by Jeff Morriss <jeff.morriss[AT]ulticom.com>
  *
- * $Id: packet-mtp3.c,v 1.20 2003/09/05 23:43:04 guy Exp $
+ * $Id: packet-mtp3.c,v 1.21 2003/09/05 23:54:10 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -333,7 +333,7 @@ dissect_mtp3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
   proto_tree *mtp3_tree = NULL;
 
   /* Make entries in Protocol column and Info column on summary display */
-  if (check_col(pinfo->cinfo, COL_INFO))
+  if (check_col(pinfo->cinfo, COL_PROTOCOL))
     switch(mtp3_standard) {
       case ITU_STANDARD:
         col_set_str(pinfo->cinfo, COL_PROTOCOL, "MTP3 (Int. ITU)");