Check COL_PROTOCOL, not COL_INFO, before updating COL_PROTOCOL.

svn path=/trunk/; revision=8396
This commit is contained in:
Guy Harris 2003-09-05 23:54:10 +00:00
parent c92677bb1f
commit b12a397966
1 changed files with 2 additions and 2 deletions

View 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)");