diff options
author | Laurent Deniel <laurent.deniel@free.fr> | 1999-08-10 11:08:38 +0000 |
---|---|---|
committer | Laurent Deniel <laurent.deniel@free.fr> | 1999-08-10 11:08:38 +0000 |
commit | 923bc52dc6a1d32ead1fa408e353f25e4c6ff7ab (patch) | |
tree | d255430b0f479908923592fb60afe6fc3b1243de /capture.h | |
parent | 3f14fd3d7e5b9dc6098bcb60ccaa6b5798a37591 (diff) | |
download | wireshark-923bc52dc6a1d32ead1fa408e353f25e4c6ff7ab.tar.gz wireshark-923bc52dc6a1d32ead1fa408e353f25e4c6ff7ab.tar.bz2 wireshark-923bc52dc6a1d32ead1fa408e353f25e4c6ff7ab.zip |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |