From 85a8e304ddeb73c54ad7e86271d67543484645c9 Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Sun, 12 May 2013 18:11:02 +0000 Subject: Add the posibillity to use a key for per-packet-data. svn path=/trunk/; revision=49259 --- epan/dissectors/packet-ixveriwave.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-ixveriwave.c') 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) { -- cgit v1.2.3