aboutsummaryrefslogtreecommitdiffstats
path: root/dftest.c
diff options
context:
space:
mode:
authorOlivier Biot <obiot.ethereal@gmail.com>2004-03-18 19:04:33 +0000
committerOlivier Biot <obiot.ethereal@gmail.com>2004-03-18 19:04:33 +0000
commit11f92323360cffecc4b7f90efc76202e5762f8d3 (patch)
tree876959ab8c53334deb5cb8a35e7b7b596cf24152 /dftest.c
parentd714f1153f294fd9f2e28b9559a21e22c0f2d447 (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. svn path=/trunk/; revision=10402
Diffstat (limited to 'dftest.c')
-rw-r--r--dftest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dftest.c b/dftest.c
index c384f74cf6..751086f7af 100644
--- a/dftest.c
+++ b/dftest.c
@@ -1,6 +1,6 @@
/* dftest.c.c
*
- * $Id: dftest.c,v 1.8 2004/02/21 22:00:46 guy Exp $
+ * $Id: dftest.c,v 1.9 2004/03/18 19:04:31 obiot Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -49,7 +49,6 @@
#include "register.h"
packet_info pi;
-ts_type timestamp_type = TS_RELATIVE;
int
main(int argc, char **argv)
@@ -61,6 +60,8 @@ main(int argc, char **argv)
e_prefs *prefs;
dfilter_t *df;
+ set_timestamp_setting(TS_RELATIVE);
+
/* register all dissectors; we must do this before checking for the
"-g" flag, as the "-g" flag dumps a list of fields registered
by the dissectors, and we must do it before we read the preferences,