aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/pres/pres.cnf
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-03-07 00:28:34 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-03-07 00:28:34 +0000
commit7ff188128bc622b128fb5a8268573098edc0d16b (patch)
treec502dca14bb2095b403d04517eefa1b337b79cba /asn1/pres/pres.cnf
parent7cf1229160ef2430f2916d074fefe1ab2c43de30 (diff)
Added a users context list to map a presentation context identifier to an
object identifier when the capture does not contain a PRES package with a presentation context definition list for the conversation. Added a few expert infos. svn path=/trunk/; revision=27631
Diffstat (limited to 'asn1/pres/pres.cnf')
-rw-r--r--asn1/pres/pres.cnf14
1 files changed, 10 insertions, 4 deletions
diff --git a/asn1/pres/pres.cnf b/asn1/pres/pres.cnf
index 2c78dcf541..32863a43b0 100644
--- a/asn1/pres/pres.cnf
+++ b/asn1/pres/pres.cnf
@@ -41,8 +41,11 @@ CPR-PPDU/normal-mode-parameters/provider-reason cPR_PPDU__provider-reason
next_tvb = tvb_new_subset(tvb, offset, -1, -1);
call_ber_oid_callback(oid, next_tvb, offset, actx->pinfo, global_tree);
} else {
- proto_tree_add_text(tree, tvb, offset, -1,"dissector is not available");
- %(DEFAULT_BODY)s
+ 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");
+ }
+ %(DEFAULT_BODY)s
}
#.FN_BODY PDV-list/presentation-data-values/octet-aligned
@@ -54,8 +57,11 @@ CPR-PPDU/normal-mode-parameters/provider-reason cPR_PPDU__provider-reason
next_tvb = tvb_new_subset(tvb, offset, -1, -1);
call_ber_oid_callback(oid, next_tvb, offset, actx->pinfo, global_tree);
} else {
- proto_tree_add_text(tree, tvb, offset, -1,"dissector is not available");
- %(DEFAULT_BODY)s
+ 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");
+ }
+ %(DEFAULT_BODY)s
}