diff options
author | David Perry <boolean263@protonmail.com> | 2022-09-20 08:09:57 -0400 |
---|---|---|
committer | Uli Heilmeier <uh@heilmeier.eu> | 2022-10-08 14:01:19 +0000 |
commit | 68a581afdcb08fd31aab88494a87e1243b3db15d (patch) | |
tree | a395408a9ff07f9881c2c826eefc40d4baa22e4e /plugins/epan/ethercat | |
parent | 9a6d496e640fb40b14c15ca053eb8a644e6169dc (diff) |
esl_eth: support nanosecond timestamps
Applies the patch from #18308, in lieu of original commenter doing so.
Closes #18308
Diffstat (limited to 'plugins/epan/ethercat')
-rw-r--r-- | plugins/epan/ethercat/packet-esl.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } } |