]> The Tcpdump Group git mirrors - libpcap/blobdiff - pcap-linux.c
Note that we might not get an interface drop count from /proc/net/dev.
[libpcap] / pcap-linux.c
index d2f7c51e70c877efc52539d6e8ffe0425e8c6d7f..aeae6de99ffc4531b15629ebb3f53179603c692d 100644 (file)
@@ -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.