aboutsummaryrefslogtreecommitdiffstats
path: root/packet-q931.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-03-25 23:59:01 +0000
committerGuy Harris <guy@alum.mit.edu>2004-03-25 23:59:01 +0000
commit847d46fa085929f199ddbf95331b5a89978845be (patch)
tree016d3844939c3b1f1ddae3ec32969f6a61f8d359 /packet-q931.c
parent67a18192d01a764105bebc58ff5292ff8305de35 (diff)
From Tomas Kukosa: put the number string for a number IE into the
top-level item for the IE tree. svn path=/trunk/; revision=10489
Diffstat (limited to 'packet-q931.c')
-rw-r--r--packet-q931.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/packet-q931.c b/packet-q931.c
index df141304ce..20e375904d 100644
--- a/packet-q931.c
+++ b/packet-q931.c
@@ -2,7 +2,7 @@
* Routines for Q.931 frame disassembly
* Guy Harris <guy@alum.mit.edu>
*
- * $Id: packet-q931.c,v 1.74 2004/03/18 09:00:37 guy Exp $
+ * $Id: packet-q931.c,v 1.75 2004/03/25 23:59:01 guy Exp $
*
* Modified by Andreas Sikkema for possible use with H.323
*
@@ -2100,6 +2100,7 @@ dissect_q931_number_ie(tvbuff_t *tvb, int offset, int len,
if (len == 0)
return;
proto_tree_add_item(tree, hfindex, tvb, offset, len, FALSE);
+ proto_item_append_text(proto_tree_get_parent(tree), " '%s'", tvb_format_text(tvb, offset, len));
if ( number_plan == 1 ) {
if ( e164_info.e164_number_type != NONE ){
@@ -2327,6 +2328,7 @@ dissect_q931_ia5_ie(tvbuff_t *tvb, int offset, int len, proto_tree *tree,
if (len != 0) {
proto_tree_add_text(tree, tvb, offset, len, "%s: %s", label,
tvb_format_text(tvb, offset, len));
+ proto_item_append_text(proto_tree_get_parent(tree), " '%s'", tvb_format_text(tvb, offset, len));
}
}