URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d470a468a63a081688ddc2c6d125e4e2edafecfc
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
d470a46 by Guy Harris (guy@xxxxxxxxxxxx):
More handling of missing time stamps.
Make nstime_cmp() handle "unset" time stamps (they're equal to other
"unset" time stamps, and less than all other time stamps), use it in
reordercap, and "unset" the time stamp if it's absent.
Also, nstime_cmp() does not modify its argument, so make it const.
Change-Id: I016dab5fefaf4696e78cbd8c6dd3395808e54369
Reviewed-on: https://code.wireshark.org/review/1769
Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
Actions performed:
from 9e2db54 Set the presence flags.
adds d470a46 More handling of missing time stamps.
Summary of changes:
reordercap.c | 31 +++++++++----------------------
wsutil/nstime.c | 13 ++++++++++++-
wsutil/nstime.h | 2 +-
3 files changed, 22 insertions(+), 24 deletions(-)