From 2f05cf4dcfbecb970713c564fdbe8d0fa40d6ffb Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Mon, 4 Jul 2011 21:43:34 +0000 Subject: From Michael Mann: Added ability to display UTC time or UTC time with date. I liked having the difference between UTC and local time, not just setting local=UTC. https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2629 svn path=/trunk/; revision=37898 --- epan/frame_data.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'epan/frame_data.c') diff --git a/epan/frame_data.c b/epan/frame_data.c index 4bde07fa33..1154090ae6 100644 --- a/epan/frame_data.c +++ b/epan/frame_data.c @@ -143,6 +143,8 @@ frame_data_compare(const frame_data *fdata1, const frame_data *fdata2, int field switch (timestamp_get_type()) { case TS_ABSOLUTE: case TS_ABSOLUTE_WITH_DATE: + case TS_UTC: + case TS_UTC_WITH_DATE: case TS_EPOCH: return COMPARE_TS(abs_ts); @@ -162,6 +164,8 @@ frame_data_compare(const frame_data *fdata1, const frame_data *fdata2, int field case COL_ABS_TIME: case COL_ABS_DATE_TIME: + case COL_UTC_TIME: + case COL_UTC_DATE_TIME: return COMPARE_TS(abs_ts); case COL_REL_TIME: -- cgit v1.2.1