summaryrefslogtreecommitdiff
path: root/summary.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-02-11 09:28:17 +0000
committerGuy Harris <guy@alum.mit.edu>2001-02-11 09:28:17 +0000
commitbf0a3a32d1135b4bc84a5051adfbf934d091ba61 (patch)
treee635f2f2c8a02e0c4ec19342b263e172495fd742 /summary.c
parent8cd8391b9aac60f8371ca5911330d6b8aacce996 (diff)
downloadwireshark-bf0a3a32d1135b4bc84a5051adfbf934d091ba61.tar.gz
In Ethereal, attempt to get the packet statistics from libpcap when
capturing; if we succeed, display the packet drops count as the "Drops" value in the status line and as the "Dropped packets" statistics in the summary dialog box, otherwise don't display it at all. In Tethereal, attempt to get the packet statistics from libpcap when capturing; if we succeed, and if there were any dropped packets, print out the count of dropped packets when the capture finishes. svn path=/trunk/; revision=3016
Diffstat (limited to 'summary.c')
-rw-r--r--summary.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/summary.c b/summary.c
index 90717a91f0..3da60a62b1 100644
--- a/summary.c
+++ b/summary.c
@@ -1,7 +1,7 @@
/* summary.c
* Routines for capture file summary info
*
- * $Id: summary.c,v 1.19 2000/08/21 18:20:11 deniel Exp $
+ * $Id: summary.c,v 1.20 2001/02/11 09:28:15 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@zing.org>
@@ -94,6 +94,7 @@ summary_fill_in(summary_tally *st)
st->snap = cfile.snap;
st->elapsed_time = secs_usecs(cfile.esec, cfile.eusec);
st->packet_count = cfile.count;
+ st->drops_known = cfile.drops_known;
st->drops = cfile.drops;
st->iface = cfile.iface;
st->dfilter = cfile.dfilter;