aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-snoop.c
diff options
context:
space:
mode:
authorguy <guy>2001-12-10 07:14:14 +0000
committerguy <guy>2001-12-10 07:14:14 +0000
commitefc02fd2e3734a7bdca3955854fa27419449d9cc (patch)
tree51f5a38a48a88fc9e0d04c754826bf7966d73568 /pcap-snoop.c
parent4ad66bbfb4abe5b5a226aafa5e396ff4aeda738b (diff)
Put more information into the comments for "pcap_stats()".
Diffstat (limited to 'pcap-snoop.c')
-rw-r--r--pcap-snoop.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/pcap-snoop.c b/pcap-snoop.c
index c4119fb..76c4715 100644
--- a/pcap-snoop.c
+++ b/pcap-snoop.c
@@ -20,7 +20,7 @@
*/
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/libpcap/pcap-snoop.c,v 1.32 2001-07-29 01:22:43 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/libpcap/pcap-snoop.c,v 1.33 2001-12-10 07:14:21 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -134,6 +134,8 @@ pcap_stats(pcap_t *p, struct pcap_stat *ps)
/*
* "ps_recv" counts only packets that passed the filter.
+ * As filtering is done in userland, this does not include
+ * packets dropped because we ran out of buffer space.
*/
*ps = p->md.stat;
return (0);