aboutsummaryrefslogtreecommitdiffstats
path: root/epan/follow.c
diff options
context:
space:
mode:
authorToff <christophe.paris@free.fr>2020-09-09 17:06:15 +0200
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2021-05-25 08:09:31 +0000
commit2df04e5bb030c84b14d9f071b5759cbdd444737c (patch)
tree4621ad9cb71ca95982324cd841ffa25c0f414de1 /epan/follow.c
parent48ba793ef654028e789b958ddda39d4549ff3749 (diff)
Follow stream: Modify YAML format, add timestamps and peers
Modify YAML output format so it includes information about peers and absolute timestamps for each packet. This also adds yaml output to tshark: -z follow,tcp,yaml,X
Diffstat (limited to 'epan/follow.c')
-rw-r--r--epan/follow.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/follow.c b/epan/follow.c
index ab1f1f1aae..66c4c90660 100644
--- a/epan/follow.c
+++ b/epan/follow.c
@@ -190,6 +190,7 @@ follow_tvb_tap_listener(void *tapdata, packet_info *pinfo,
tvb_get_ptr(next_tvb, 0, -1),
tvb_captured_length(next_tvb));
follow_record->packet_num = pinfo->fd->num;
+ follow_record->abs_ts = pinfo->fd->abs_ts;
if (follow_info->client_port == 0) {
follow_info->client_port = pinfo->srcport;