aboutsummaryrefslogtreecommitdiffstats
path: root/tshark.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2010-05-06 23:51:37 +0000
committerGerald Combs <gerald@wireshark.org>2010-05-06 23:51:37 +0000
commit570a693a09a6adba55ff6d9ce941dec1afe086cb (patch)
treed3cc9b57dd4951e08555a927b412e604229ae779 /tshark.c
parent51d79ab6206325f4bcdc9c2652308f50137a75b8 (diff)
Set the timestamp seconds type to TS_SECONDS_DEFAULT at startup so we
don't abort. svn path=/trunk/; revision=32697
Diffstat (limited to 'tshark.c')
-rw-r--r--tshark.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tshark.c b/tshark.c
index bc5cc54325..69e2c4055b 100644
--- 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