aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/t38
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2013-05-12 18:11:02 +0000
committerAnders Broman <anders.broman@ericsson.com>2013-05-12 18:11:02 +0000
commit85a8e304ddeb73c54ad7e86271d67543484645c9 (patch)
tree1cc041f936dcdb3e5e95946361b0c75f71cd31ac /asn1/t38
parentf2ccdd6dbf1143374e62bc645a703870f2106719 (diff)
Add the posibillity to use a key for per-packet-data.
svn path=/trunk/; revision=49259
Diffstat (limited to 'asn1/t38')
-rw-r--r--asn1/t38/packet-t38-template.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/t38/packet-t38-template.c b/asn1/t38/packet-t38-template.c
index 87966844f5..24fbca9dfe 100644
--- a/asn1/t38/packet-t38-template.c
+++ b/asn1/t38/packet-t38-template.c
@@ -422,7 +422,7 @@ init_t38_info_conv(packet_info *pinfo)
p_t38_conv = NULL;
/* Use existing packet info if available */
- p_t38_packet_conv = (t38_conv *)p_get_proto_data(pinfo->fd, proto_t38);
+ p_t38_packet_conv = (t38_conv *)p_get_proto_data(pinfo->fd, proto_t38, 0);
/* find the conversation used for Reassemble and Setup Info */
@@ -479,7 +479,7 @@ init_t38_info_conv(packet_info *pinfo)
memcpy(&(p_t38_packet_conv->src_t38_info), &(p_t38_conv->src_t38_info), sizeof(t38_conv_info));
memcpy(&(p_t38_packet_conv->dst_t38_info), &(p_t38_conv->dst_t38_info), sizeof(t38_conv_info));
- p_add_proto_data(pinfo->fd, proto_t38, p_t38_packet_conv);
+ p_add_proto_data(pinfo->fd, proto_t38, 0, p_t38_packet_conv);
}
if (ADDRESSES_EQUAL(&p_conv->key_ptr->addr1, &pinfo->net_src)) {