aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/pres
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2005-09-09 19:46:57 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2005-09-09 19:46:57 +0000
commitd41f92839298c0d86da8bbe0fa8dddfc2dbdf0dd (patch)
tree85ef9c964fa1e61cd72bda544165735f45945fcd /asn1/pres
parent578efc718d640e13cfa7b55c76aa7062fcaa340e (diff)
Dissect "nbs-9".
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@15742 f5534014-38df-0310-8fa8-9805f1628bb7
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