From 9141bd97001e4a728c88b2bc7507a2f8bd91cc90 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Fri, 22 Jan 2016 19:50:21 -0800 Subject: Add more fields to packet_info structure and use them. Add fields for the absolute time stamp (and another field for a presence flag for the absolute time stamp) and the packet encapsulation for the packet. This lets us remove the field for the packet encapsulation in the frame_data structure; do so. Change-Id: Ifb910a9a192414e2a53086f3f7b97f39ed36aa39 Reviewed-on: https://code.wireshark.org/review/13499 Reviewed-by: Guy Harris --- epan/dissectors/file-pcapng.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/dissectors/file-pcapng.c') diff --git a/epan/dissectors/file-pcapng.c b/epan/dissectors/file-pcapng.c index 4d491fbd0e..96840cf480 100644 --- a/epan/dissectors/file-pcapng.c +++ b/epan/dissectors/file-pcapng.c @@ -909,7 +909,7 @@ pcapng_add_timestamp(proto_tree *tree, packet_info *pinfo, tvbuff_t *tvb, ti = proto_tree_add_time(tree, hf_pcapng_timestamp, tvb, offset, 8, ×tamp); PROTO_ITEM_SET_GENERATED(ti); - pinfo->fd->abs_ts = timestamp; + pinfo->abs_ts = timestamp; } } -- cgit v1.2.3