forked from osmocom/wireshark
Note why we're getting the time stamp from the frame data structure.
Change-Id: I5b92ea027e1182e4b0d3248d338780fad810fd2b Reviewed-on: https://code.wireshark.org/review/37015 Reviewed-by: Guy Harris <gharris@sonic.net>
This commit is contained in:
parent
e548eceeac
commit
43b945d116
|
@ -520,6 +520,12 @@ dissect_record(epan_dissect_t *edt, int file_type_subtype,
|
|||
edt->pi.cinfo = cinfo;
|
||||
edt->pi.presence_flags = 0;
|
||||
edt->pi.num = fd->num;
|
||||
/*
|
||||
* XXX - this doesn't check the wtap_rec because, for
|
||||
* some capture files, time stamps are supplied only
|
||||
* when reading sequentially, so we keep the time stamp
|
||||
* in the frame_data structure.
|
||||
*/
|
||||
if (fd->has_ts) {
|
||||
edt->pi.presence_flags |= PINFO_HAS_TS;
|
||||
edt->pi.abs_ts = fd->abs_ts;
|
||||
|
|
Loading…
Reference in New Issue