diff options
author | obiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-18 19:04:33 +0000 |
---|---|---|
committer | obiot <obiot@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-18 19:04:33 +0000 |
commit | c113a50c6b9548167740cdfce35eac35ec467002 (patch) | |
tree | 876959ab8c53334deb5cb8a35e7b7b596cf24152 /gtk/packet_list.c | |
parent | b52c3d1094816e70f7a3227ac859c14c127ce3e9 (diff) |
From Lars Roland: Move timestamp_type into libethereal and provide accessor
methods for getting and setting the timestamp type.
This is a move towards a real libethereal shared library.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10402 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/packet_list.c')
-rw-r--r-- | gtk/packet_list.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/packet_list.c b/gtk/packet_list.c index 07e0d17efb..c42b203d12 100644 --- a/gtk/packet_list.c +++ b/gtk/packet_list.c @@ -1,7 +1,7 @@ /* packet_list.c * packet list related functions 2002 Olivier Abad * - * $Id: packet_list.c,v 1.18 2004/02/06 19:19:10 ulfl Exp $ + * $Id: packet_list.c,v 1.19 2004/03/18 19:04:33 obiot Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -45,6 +45,7 @@ #include "file_dlg.h" #include "packet_list.h" #include "keys.h" +#include <epan/timestamp.h> #include "image/clist_ascend.xpm" #include "image/clist_descend.xpm" @@ -148,7 +149,7 @@ packet_list_compare(EthCList *clist, gconstpointer ptr1, gconstpointer ptr2) return COMPARE_FRAME_NUM(); case COL_CLS_TIME: - switch (timestamp_type) { + switch (get_timestamp_setting()) { case TS_ABSOLUTE: case TS_ABSOLUTE_WITH_DATE: |