summaryrefslogtreecommitdiff
path: root/packet-ranap.c
diff options
context:
space:
mode:
authorOlivier Biot <obiot.ethereal@gmail.com>2004-05-01 17:02:09 +0000
committerOlivier Biot <obiot.ethereal@gmail.com>2004-05-01 17:02:09 +0000
commit18d25c04012545ee35ab4b0d5421bfba71d83701 (patch)
tree979db4ca41e8cf0b88891273fd6e8eb5d3137a26 /packet-ranap.c
parentd9118dc089e7d842bc5c288238e1b100c799fb63 (diff)
downloadwireshark-18d25c04012545ee35ab4b0d5421bfba71d83701.tar.gz
From Michael Lum:
- Write to the INFO column only if it is visible. - Add the RANAP message to the protocol tree. svn path=/trunk/; revision=10753
Diffstat (limited to 'packet-ranap.c')
-rw-r--r--packet-ranap.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/packet-ranap.c b/packet-ranap.c
index dfc23e1539..f5549b1027 100644
--- a/packet-ranap.c
+++ b/packet-ranap.c
@@ -3,7 +3,7 @@
* Based on 3GPP TS 25.413 V3.4.0
* Copyright 2001, Martin Held <Martin.Held@icn.siemens.de>
*
- * $Id: packet-ranap.c,v 1.22 2003/12/21 05:51:33 jmayer Exp $
+ * $Id: packet-ranap.c,v 1.23 2004/05/01 17:02:09 obiot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -4029,7 +4029,15 @@ dissect_ranap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
/* extended choice */
/* decoding is not supported */
- col_append_str(pinfo->cinfo, COL_INFO, "RANAP-PDU Protocol extension present, dissection not supported");
+ if (check_col(pinfo->cinfo, COL_INFO))
+ {
+ col_append_str(pinfo->cinfo, COL_INFO, "RANAP-PDU Protocol extension present, dissection not supported");
+ }
+
+ if (tree)
+ {
+ proto_tree_add_text(tree, tvb, 0, -1, "RANAP Message");
+ }
return;
}