Set the timestamp seconds type to TS_SECONDS_DEFAULT at startup so we
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 6 May 2010 23:51:37 +0000 (23:51 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 6 May 2010 23:51:37 +0000 (23:51 +0000)
don't abort.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32697 f5534014-38df-0310-8fa8-9805f1628bb7

tshark.c

index bc5cc543250b7f7fbcdd64a616fdf47e25441785..69e2c4055bfddfe7b0d6e67131aeeb8afe459539 100644 (file)
--- a/tshark.c
+++ b/tshark.c
@@ -859,6 +859,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