diff options
Diffstat (limited to 'asn1/pres/pres.cnf')
-rw-r--r-- | asn1/pres/pres.cnf | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/asn1/pres/pres.cnf b/asn1/pres/pres.cnf index cf6c6a6171..01d56074e5 100644 --- a/asn1/pres/pres.cnf +++ b/asn1/pres/pres.cnf @@ -43,11 +43,10 @@ CPR-PPDU/normal-mode-parameters/provider-reason cPR_PPDU__provider-reason next_tvb = tvb_new_subset_remaining(tvb, offset); call_ber_oid_callback(oid, next_tvb, offset, actx->pinfo, global_tree); } else { - if (!pres_try_users_table(presentation_context_identifier, tvb, offset, actx->pinfo)) { - proto_item *ti = proto_tree_add_text(tree, tvb, offset, -1,"dissector is not available"); - expert_add_info_format(actx->pinfo, ti, PI_UNDECODED, PI_WARN, "Dissector is not available"); - } + proto_item *ti = proto_tree_add_text(tree, tvb, offset, -1,"dissector is not available"); + expert_add_info_format(actx->pinfo, ti, PI_UNDECODED, PI_WARN, "Dissector is not available"); } + #.FN_BODY PDV-list/presentation-data-values/octet-aligned tvbuff_t *next_tvb; @@ -58,10 +57,8 @@ CPR-PPDU/normal-mode-parameters/provider-reason cPR_PPDU__provider-reason dissect_ber_octet_string(implicit_tag, actx, tree, tvb, offset, hf_index, &next_tvb); call_ber_oid_callback(oid, next_tvb, offset, actx->pinfo, global_tree); } else { - if (!pres_try_users_table(presentation_context_identifier, tvb, offset, actx->pinfo)) { - proto_item *ti = proto_tree_add_text(tree, tvb, offset, -1,"dissector is not available"); - expert_add_info_format(actx->pinfo, ti, PI_UNDECODED, PI_WARN, "Dissector is not available"); - } + proto_item *ti = proto_tree_add_text(tree, tvb, offset, -1,"dissector is not available"); + expert_add_info_format(actx->pinfo, ti, PI_UNDECODED, PI_WARN, "Dissector is not available"); %(DEFAULT_BODY)s } |