esl_eth: support nanosecond timestamps

Applies the patch from #18308, in lieu of original commenter doing so.

Closes #18308
This commit is contained in:
David Perry 2022-09-20 08:09:57 -04:00 committed by Uli Heilmeier
parent 9a6d496e64
commit 68a581afdc
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
}