aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/h460
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2014-08-08 09:19:29 -0400
committerMichael Mann <mmann78@netscape.net>2014-08-09 01:57:08 +0000
commitcd02af56a1e39c66b44fd7957aff3b7b77a59e9d (patch)
tree4a3e859751bb73268115a607e9dffcec008bb411 /asn1/h460
parentbb15274a4a82fcab1c06935fa1e249f436420a02 (diff)
downloadwireshark-cd02af56a1e39c66b44fd7957aff3b7b77a59e9d.tar.gz
wireshark-cd02af56a1e39c66b44fd7957aff3b7b77a59e9d.tar.bz2
wireshark-cd02af56a1e39c66b44fd7957aff3b7b77a59e9d.zip
Eliminate (almost all) proto_tree_add_text calls from ASN.1 dissectors.
This mostly involved adding expert info capabilities to many of the dissectors so that they could correctly flag error conditions. Only remaining proto_tree_add_text calls are in H248.cnf, which has a convoluted way of using hf_ data to make its tree. Change-Id: I6412150c2ec1977d7fa38f3f0ed416680bdfb141 Reviewed-on: https://code.wireshark.org/review/3500 Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'asn1/h460')
-rw-r--r--asn1/h460/packet-h460-template.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/asn1/h460/packet-h460-template.c b/asn1/h460/packet-h460-template.c
index de77b1b747..29e472af4e 100644
--- a/asn1/h460/packet-h460-template.c
+++ b/asn1/h460/packet-h460-template.c
@@ -229,9 +229,7 @@ dissect_h460_name(tvbuff_t *tvb _U_, packet_info *pinfo, proto_tree *tree, void
DISSECTOR_ASSERT(actx);
if (tree) {
- /* DEBUG */ /*proto_tree_add_text(tree, tvb, 0, 0, "*** DEBUG dissect_h460_name: %s", pinfo->match_string);*/
ftr = find_ftr(pinfo->match_string);
- /* DEBUG */ /*proto_tree_add_text(tree, tvb, 0, 0, "*** DEBUG dissect_h460_name: ftr %s", (ftr)?ftr->name:"-none-");*/
if (ftr) {
proto_item_append_text(actx->created_item, " - %s", ftr->name);
proto_item_append_text(proto_item_get_parent(proto_tree_get_parent(tree)), ": %s", ftr->name);