diff options
author | Anders Broman <anders.broman@ericsson.com> | 2013-05-12 18:11:02 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2013-05-12 18:11:02 +0000 |
commit | 85a8e304ddeb73c54ad7e86271d67543484645c9 (patch) | |
tree | 1cc041f936dcdb3e5e95946361b0c75f71cd31ac /epan/dissectors/packet-iax2.c | |
parent | f2ccdd6dbf1143374e62bc645a703870f2106719 (diff) |
Add the posibillity to use a key for per-packet-data.
svn path=/trunk/; revision=49259
Diffstat (limited to 'epan/dissectors/packet-iax2.c')
-rw-r--r-- | epan/dissectors/packet-iax2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-iax2.c b/epan/dissectors/packet-iax2.c index 070da5a47c..c995a3b67b 100644 --- a/epan/dissectors/packet-iax2.c +++ b/epan/dissectors/packet-iax2.c @@ -1587,7 +1587,7 @@ dissect_fullpacket(tvbuff_t *tvb, guint32 offset, iax2_info->dcallno = dcallno; /* see if we've seen this packet before */ - iax_packet = (iax_packet_data *)p_get_proto_data(pinfo->fd, proto_iax2); + iax_packet = (iax_packet_data *)p_get_proto_data(pinfo->fd, proto_iax2, 0); if (!iax_packet) { /* if not, find or create an iax_call info structure for this IAX session. */ @@ -1601,7 +1601,7 @@ dissect_fullpacket(tvbuff_t *tvb, guint32 offset, } iax_packet = iax_new_packet_data(iax_call, reversed); - p_add_proto_data(pinfo->fd, proto_iax2, iax_packet); + p_add_proto_data(pinfo->fd, proto_iax2, 0, iax_packet); } else { iax_call = iax_packet->call_data; reversed = iax_packet->reversed; @@ -1765,7 +1765,7 @@ static iax_packet_data *iax2_get_packet_data_for_minipacket(packet_info *pinfo, gboolean video) { /* see if we've seen this packet before */ - iax_packet_data *p = (iax_packet_data *)p_get_proto_data(pinfo->fd, proto_iax2); + iax_packet_data *p = (iax_packet_data *)p_get_proto_data(pinfo->fd, proto_iax2, 0); if (!p) { /* if not, find or create an iax_call info structure for this IAX session. */ @@ -1775,7 +1775,7 @@ static iax_packet_data *iax2_get_packet_data_for_minipacket(packet_info *pinfo, iax_call = iax_lookup_call(pinfo, scallno, 0, &reversed); p = iax_new_packet_data(iax_call, reversed); - p_add_proto_data(pinfo->fd, proto_iax2, p); + p_add_proto_data(pinfo->fd, proto_iax2, 0, p); /* set the codec for this frame to be whatever the last full frame used */ if (iax_call) { |