aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sccp.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-09-06 00:04:45 +0000
committerGuy Harris <guy@alum.mit.edu>2003-09-06 00:04:45 +0000
commit52391a1c35d6625820f38076c22660e1d3d05b26 (patch)
tree660b55ce783b860f2146fc355a53a3ce249e0cd6 /packet-sccp.c
parente46ea95fb9f6006aa90b98439400a33166b50c49 (diff)
downloadwireshark-52391a1c35d6625820f38076c22660e1d3d05b26.tar.gz
wireshark-52391a1c35d6625820f38076c22660e1d3d05b26.tar.bz2
wireshark-52391a1c35d6625820f38076c22660e1d3d05b26.zip
Check COL_PROTOCOL, not COL_INFO, before updating COL_PROTOCOL.
Fix up white space. svn path=/trunk/; revision=8398
Diffstat (limited to 'packet-sccp.c')
-rw-r--r--packet-sccp.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-sccp.c b/packet-sccp.c
index a1249ebdb0..de4982f9df 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.13 2003/09/05 20:11:45 tuexen Exp $
+ * $Id: packet-sccp.c,v 1.14 2003/09/06 00:04:45 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1891,7 +1891,8 @@ 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 */
- if (check_col(pinfo->cinfo, COL_INFO)) switch(mtp3_standard) {
+ if (check_col(pinfo->cinfo, COL_PROTOCOL))
+ switch(mtp3_standard) {
case ITU_STANDARD:
col_set_str(pinfo->cinfo, COL_PROTOCOL, "SCCP (Int. ITU)");
break;