diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-02-11 09:28:17 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2001-02-11 09:28:17 +0000 |
commit | 9d4825808397824916f033a7ab9838623a90327c (patch) | |
tree | e635f2f2c8a02e0c4ec19342b263e172495fd742 /summary.c | |
parent | 6e72c6340b597a80a1d5c22741f450d05d66a57d (diff) |
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.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@3016 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'summary.c')
-rw-r--r-- | summary.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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; |