aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/network_instruments.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-10-31 08:06:25 +0000
committerGuy Harris <guy@alum.mit.edu>2003-10-31 08:06:25 +0000
commit1131dafe62750db555a429810ae3179d2ee0b3d7 (patch)
treea06663abeb7319a83dbc8501c2e3d2c9afb6e4c6 /wiretap/network_instruments.h
parent4c858d1ae7edb290fc7faf67a8485367d3aaf2d7 (diff)
Temporarily get rid of the "struct tm" in "struct observer_time", and
get rid of the reference to its "tm_gmtoff" member - there are platforms on which Ethereal runs that don't have "tm_gmtoff" in "struct tm". If the time stamp in the packets is nanoseconds since midnight 2001-01-01 *local* time, we'd need to compute the offset between that and midnight 2000-01-01 GMT, and adjust the time with that. svn path=/trunk/; revision=8842
Diffstat (limited to 'wiretap/network_instruments.h')
-rw-r--r--wiretap/network_instruments.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/wiretap/network_instruments.h b/wiretap/network_instruments.h
index be151976c5..3c3e7f731e 100644
--- a/wiretap/network_instruments.h
+++ b/wiretap/network_instruments.h
@@ -1,5 +1,5 @@
/*
- * $Id: network_instruments.h,v 1.1 2003/10/31 00:43:21 guy Exp $
+ * $Id: network_instruments.h,v 1.2 2003/10/31 08:06:25 guy Exp $
*/
/***************************************************************************
@@ -72,7 +72,9 @@ typedef struct tlv_user_commnent
typedef struct observer_time
{
guint64 ns_since2000; /* given in packet_entry_header */
+#if 0
struct tm time_stamp;
+#endif
guint64 us_since2000; /* Micro-Seconds since 1-1-2000 */
guint64 sec_since2000; /* Seconds since 1-1-2000 */