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-ixveriwave.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-ixveriwave.c')
-rw-r--r-- | epan/dissectors/packet-ixveriwave.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-ixveriwave.c b/epan/dissectors/packet-ixveriwave.c index 87d10ad303..49092b14c7 100644 --- a/epan/dissectors/packet-ixveriwave.c +++ b/epan/dissectors/packet-ixveriwave.c @@ -507,7 +507,7 @@ dissect_ixveriwave(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) /* Calculate the IFG */ /* Check for an existing ifg value associated with the frame */ - p_ifg_info = (ifg_info *)p_get_proto_data(pinfo->fd, proto_ixveriwave); + p_ifg_info = (ifg_info *)p_get_proto_data(pinfo->fd, proto_ixveriwave, 0); if (!p_ifg_info) { /* allocate the space */ @@ -533,7 +533,7 @@ dissect_ixveriwave(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) p_ifg_info->current_start_time = vw_startt; /* Add the ifg onto the frame */ - p_add_proto_data(pinfo->fd, proto_ixveriwave, p_ifg_info); + p_add_proto_data(pinfo->fd, proto_ixveriwave, 0, p_ifg_info); } if (tree) { |