aboutsummaryrefslogtreecommitdiffstats
path: root/capture.h
diff options
context:
space:
mode:
authorLaurent Deniel <laurent.deniel@free.fr>1999-08-10 11:08:38 +0000
committerLaurent Deniel <laurent.deniel@free.fr>1999-08-10 11:08:38 +0000
commit923bc52dc6a1d32ead1fa408e353f25e4c6ff7ab (patch)
treed255430b0f479908923592fb60afe6fc3b1243de /capture.h
parent3f14fd3d7e5b9dc6098bcb60ccaa6b5798a37591 (diff)
Fix the -S option timeout handling:
- when in a live capture mode no packet is received during a timeout, the displayer process is notified about any remaining captured packets. Note that this fix works on Linux only with a patched libpcap. - remove unnecessary time() call and sync_time loop_data field. Thanks to John McDermott for his help during fixing and testing. svn path=/trunk/; revision=464
Diffstat (limited to 'capture.h')
-rw-r--r--capture.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/capture.h b/capture.h
index 1d828411e8..ce66a3f787 100644
--- a/capture.h
+++ b/capture.h
@@ -1,7 +1,7 @@
/* capture.h
* Definitions for packet capture windows
*
- * $Id: capture.h,v 1.10 1999/07/28 20:17:16 deniel Exp $
+ * $Id: capture.h,v 1.11 1999/08/10 11:08:38 deniel Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -37,7 +37,6 @@ typedef struct _loop_data {
gint max;
gint linktype;
gint sync_packets;
- time_t sync_time;
packet_counts counts;
pcap_dumper_t *pdh;
} loop_data;