diff options
-rw-r--r-- | epan/dissectors/packet-tcap.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-tcap.c b/epan/dissectors/packet-tcap.c index 0a55727da7..3acff2d7c2 100644 --- a/epan/dissectors/packet-tcap.c +++ b/epan/dissectors/packet-tcap.c @@ -1632,8 +1632,8 @@ dissect_tcap_dlg_protocol_version(ASN1_SCK *asn1, proto_tree *tcap_tree, proto_i dissect_tcap_len(asn1, tcap_tree, &def_len, &len); saved_offset = asn1->offset; ti = - proto_tree_add_bytes(tcap_tree, hf_tcap_bytes, asn1->tvb, saved_offset, len, - (guchar*)(tvb_get_ptr(asn1->tvb, saved_offset, len))); + proto_tree_add_item(tcap_tree, hf_tcap_bytes, asn1->tvb, + saved_offset, len, FALSE); asn1->offset += len; } |