Set default seconds type in rawshark and dftest.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 7 May 2010 06:35:17 +0000 (06:35 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 7 May 2010 06:35:17 +0000 (06:35 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32709 f5534014-38df-0310-8fa8-9805f1628bb7

dftest.c
rawshark.c

index 2f3ced581affb5a7166df2ccbe1411ecde0580ed..03e884b8a3a0852d378762f959ba8521b9a2104a 100644 (file)
--- a/dftest.c
+++ b/dftest.c
@@ -80,6 +80,7 @@ main(int argc, char **argv)
        }
 
        timestamp_set_type(TS_RELATIVE);
+       timestamp_set_seconds_type(TS_SECONDS_DEFAULT);
 
        /* Register all dissectors; we must do this before checking for the
           "-g" flag, as the "-g" flag dumps a list of fields registered
index f2d0e0a96610957138c62dff251368e359db04a6..23cff51cb566e7c913a38312654bc37552d4e8ba 100644 (file)
@@ -504,6 +504,7 @@ main(int argc, char *argv[])
 
     timestamp_set_type(TS_RELATIVE);
     timestamp_set_precision(TS_PREC_AUTO);
+    timestamp_set_seconds_type(TS_SECONDS_DEFAULT);
 
     /* Register all dissectors; we must do this before checking for the
        "-G" flag, as the "-G" flag dumps information registered by the