aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/ascend-int.h
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-11-11 03:15:07 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2000-11-11 03:15:07 +0000
commitf1d577419909f03f65a66e6d43f109cab931b59a (patch)
treeea1cad346f2e96627169ea4a51749b4c16afd718 /wiretap/ascend-int.h
parentcc07e6308a2ad5f1b19ece0bb6d422c675c23b40 (diff)
In "wdd" captures:
fix the interpretation of the date and time reported in capture files; use that date and time only to set the start date and time of the capture, not to generate the time stamp for every packet. Make the "struct tm" used for that local to the code to handle that production in the grammar, rather than global. For all captures, we *can* now fstat a compressed file (and have been able to do so for a while, in fact), so revert to doing so and using the ctime of the capture file if we can't get a date and time from the file's contents. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@2605 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'wiretap/ascend-int.h')
-rw-r--r--wiretap/ascend-int.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/wiretap/ascend-int.h b/wiretap/ascend-int.h
index 2b0f143c41..0f051d5e25 100644
--- a/wiretap/ascend-int.h
+++ b/wiretap/ascend-int.h
@@ -2,7 +2,7 @@
* Definitions for routines common to multiple modules in the Lucent/Ascend
* capture file reading code code, but not used outside that code.
*
- * $Id: ascend-int.h,v 1.6 2000/05/19 08:18:14 guy Exp $
+ * $Id: ascend-int.h,v 1.7 2000/11/11 03:15:07 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -28,6 +28,7 @@
#define __ASCEND_INT_H__
typedef struct {
+ time_t start_time;
time_t secs;
time_t usecs;
guint32 caplen;