diff options
author | obiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-05-01 17:02:09 +0000 |
---|---|---|
committer | obiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-05-01 17:02:09 +0000 |
commit | 5436ac64f6ab5a28abbdb8568310fb73ec742cad (patch) | |
tree | 979db4ca41e8cf0b88891273fd6e8eb5d3137a26 /packet-ranap.c | |
parent | 9df313ade1fb8de5dd17ba49c577a7d571f61c7c (diff) |
From Michael Lum:
- Write to the INFO column only if it is visible.
- Add the RANAP message to the protocol tree.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10753 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-ranap.c')
-rw-r--r-- | packet-ranap.c | 12 |
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; } |