aboutsummaryrefslogtreecommitdiffstats
path: root/pcap-linux.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2009-09-07 16:49:10 -0700
committerGuy Harris <guy@alum.mit.edu>2009-09-07 16:49:10 -0700
commit806f42441a726fccd7baaa455f1af323b2585729 (patch)
tree4d009f79f2c9db881671332b7995d56144b28d97 /pcap-linux.c
parent4b9a27475efdf7d25f88e6b9937ee494f21db692 (diff)
Note that we might not get an interface drop count from /proc/net/dev.
Diffstat (limited to 'pcap-linux.c')
-rw-r--r--pcap-linux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/pcap-linux.c b/pcap-linux.c
index d2f7c51..aeae6de 100644
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -1723,7 +1723,8 @@ pcap_stats_linux(pcap_t *handle, struct pcap_stat *stats)
* "ps_drop" is not supported.
*
* "ps_ifdrop" is supported. It will return the number
- * of drops the interface reports in /proc/net/dev
+ * of drops the interface reports in /proc/net/dev,
+ * if that is available.
*
* "ps_recv" doesn't include packets not yet read from
* the kernel by libpcap.