diff options
Diffstat (limited to 'text2pcap.c')
-rw-r--r-- | text2pcap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/text2pcap.c b/text2pcap.c index 855df5e54c..65d6547b45 100644 --- a/text2pcap.c +++ b/text2pcap.c @@ -1801,6 +1801,7 @@ parse_options (int argc, char *argv[]) } ts_sec = time(0); /* initialize to current time */ + /* We trust the OS to return a time after the Epoch. */ timecode_default = *localtime(&ts_sec); timecode_default.tm_isdst = -1; /* Unknown for now, depends on time given to the strptime() function */ |