aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/pres
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-09-09 19:46:57 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-09-09 19:46:57 +0000
commitbb18a56bbd8119fb955cc94f0c7d8e063a47082c (patch)
tree85ef9c964fa1e61cd72bda544165735f45945fcd /asn1/pres
parent4b07f6747e19333ec7d466ee5525088426053021 (diff)
Dissect "nbs-9".
svn path=/trunk/; revision=15742
Diffstat (limited to 'asn1/pres')
-rw-r--r--asn1/pres/pres.cnf13
1 files changed, 13 insertions, 0 deletions
diff --git a/asn1/pres/pres.cnf b/asn1/pres/pres.cnf
index 851b892c83..27117ba2ad 100644
--- a/asn1/pres/pres.cnf
+++ b/asn1/pres/pres.cnf
@@ -47,6 +47,19 @@ CPR-PPDU/normal-mode-parameters/provider-reason cPR_PPDU__provider-reason
proto_tree_add_text(tree, tvb, offset, -1,"dissector is not available");
%(DEFAULT_BODY)s
}
+#.FN_BODY PDV-list/presentation-data-values/octet-aligned
+
+ tvbuff_t *next_tvb;
+ char *oid;
+
+ oid=find_oid_by_pres_ctx_id(pinfo, presentation_context_identifier);
+ if(oid){
+ next_tvb = tvb_new_subset(tvb, offset, -1, -1);
+ call_ber_oid_callback(oid, next_tvb, offset, pinfo, global_tree);
+ } else {
+ proto_tree_add_text(tree, tvb, offset, -1,"dissector is not available");
+ %(DEFAULT_BODY)s
+ }
#.FN_PARS Abstract_syntax_name