aboutsummaryrefslogtreecommitdiffstats
path: root/asn1
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-08-24 15:47:10 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-08-24 15:47:10 +0000
commitce99177a003982ed273972cf9bc665799d1720fa (patch)
treecd4d70f807c612f403aa45fad7f6fe9dec0a0a82 /asn1
parent38a7ac09101f1518bbacfbb9af288104de938d9b (diff)
Display content entry (with length) in tree.
svn path=/trunk/; revision=33914
Diffstat (limited to 'asn1')
-rw-r--r--asn1/x411/x411.cnf3
1 files changed, 2 insertions, 1 deletions
diff --git a/asn1/x411/x411.cnf b/asn1/x411/x411.cnf
index 55079ac56b..7382b40145 100644
--- a/asn1/x411/x411.cnf
+++ b/asn1/x411/x411.cnf
@@ -653,7 +653,8 @@ MessageToken B "2.6.1.7.36" "id-hat-forwarded-token"
tvbuff_t *next_tvb;
/* we can do this now constructed octet strings are supported */
- offset = dissect_ber_octet_string(FALSE, actx, NULL, tvb, offset, hf_index, &next_tvb);
+ offset = dissect_ber_octet_string(FALSE, actx, tree, tvb, offset, hf_index, &next_tvb);
+ proto_item_set_text(actx->created_item, "content (%%u bytes)", tvb_length (next_tvb));
if (next_tvb) {
if (content_type_id) {