From 11f92323360cffecc4b7f90efc76202e5762f8d3 Mon Sep 17 00:00:00 2001 From: Olivier Biot Date: Thu, 18 Mar 2004 19:04:33 +0000 Subject: 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 --- dftest.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dftest.c') 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 @@ -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, -- cgit v1.2.1