diff options
author | Michael Mann <mmann78@netscape.net> | 2013-10-31 00:57:03 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-10-31 00:57:03 +0000 |
commit | c0fcebb07a7246ba9c0dc565f3a8c32078d9bf0b (patch) | |
tree | 875db1141d2ded7f0724ff7b8476d72e0d01454c /epan/dissectors/packet-atn-cpdlc.c | |
parent | 0de68078c0f15a16d4fd3f5ce4b4365d66945af4 (diff) |
Add a data parameter to call_ber_oid_callback to be able to pass data to subdissectors found with dissector_try_string_new.
The intention is to aid in the removal of pinfo->private_data use as well as static global variables in a dissector. For now, all calls to call_ber_oid_callback have the data parameter set to NULL.
svn path=/trunk/; revision=52994
Diffstat (limited to 'epan/dissectors/packet-atn-cpdlc.c')
-rw-r--r-- | epan/dissectors/packet-atn-cpdlc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-atn-cpdlc.c b/epan/dissectors/packet-atn-cpdlc.c index 45451e4d5b..6c8b63844f 100644 --- a/epan/dissectors/packet-atn-cpdlc.c +++ b/epan/dissectors/packet-atn-cpdlc.c @@ -5111,7 +5111,7 @@ static int dissect_atn_cpdlc_AlgorithmIdentifier(tvbuff_t *tvb _U_, int offset _U_, asn1_ctx_t *actx _U_, proto_tree *tree _U_, int hf_index _U_) { proto_tree *top_tree=NULL; - offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, top_tree); + offset=call_ber_oid_callback(object_identifier_id, tvb, offset, actx->pinfo, top_tree, NULL); return offset; |