aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/rnsap
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-10-31 00:57:03 +0000
committerMichael Mann <mmann78@netscape.net>2013-10-31 00:57:03 +0000
commitc0fcebb07a7246ba9c0dc565f3a8c32078d9bf0b (patch)
tree875db1141d2ded7f0724ff7b8476d72e0d01454c /asn1/rnsap
parent0de68078c0f15a16d4fd3f5ce4b4365d66945af4 (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 'asn1/rnsap')
-rw-r--r--asn1/rnsap/packet-rnsap-template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asn1/rnsap/packet-rnsap-template.c b/asn1/rnsap/packet-rnsap-template.c
index b6ce3589c3..3e5680ea12 100644
--- a/asn1/rnsap/packet-rnsap-template.c
+++ b/asn1/rnsap/packet-rnsap-template.c
@@ -100,7 +100,7 @@ static int dissect_ProtocolExtensionFieldExtensionValue(tvbuff_t *tvb, packet_in
static int dissect_PrivateIEFieldValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)
{
- return (call_ber_oid_callback(obj_id, tvb, 0, pinfo, tree)) ? tvb_length(tvb) : 0;
+ return (call_ber_oid_callback(obj_id, tvb, 0, pinfo, tree, NULL)) ? tvb_length(tvb) : 0;
}
static int dissect_InitiatingMessageValue(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_)