From 68a581afdcb08fd31aab88494a87e1243b3db15d Mon Sep 17 00:00:00 2001 From: David Perry Date: Tue, 20 Sep 2022 08:09:57 -0400 Subject: [PATCH] esl_eth: support nanosecond timestamps Applies the patch from #18308, in lieu of original commenter doing so. Closes #18308 --- plugins/epan/ethercat/packet-esl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/epan/ethercat/packet-esl.c b/plugins/epan/ethercat/packet-esl.c index 9b8ca0bd9b..75f269b45f 100644 --- a/plugins/epan/ethercat/packet-esl.c +++ b/plugins/epan/ethercat/packet-esl.c @@ -238,6 +238,7 @@ static void modify_times(tvbuff_t *tvb, gint offset, packet_info *pinfo) nstime_delta(&ts_delta, &ts, &pinfo->abs_ts); pinfo->abs_ts = ts; + pinfo->fd->abs_ts = ts; nstime_add(&pinfo->rel_ts, &ts_delta); } }