From 2fbb5a5e315355746f0c863bf4a9757057478561 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 21 Sep 2009 10:26:37 -0700 Subject: Copy the right value to the ps_ifdrop statistic. --- pcap-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcap-linux.c b/pcap-linux.c index 3525129..075b8b8 100644 --- a/pcap-linux.c +++ b/pcap-linux.c @@ -1745,7 +1745,7 @@ pcap_stats_linux(pcap_t *handle, struct pcap_stat *stats) stats->ps_recv = handle->md.packets_read; stats->ps_drop = 0; - stats->ps_ifdrop = handle->md.stat.ps_drop; + stats->ps_ifdrop = handle->md.stat.ps_ifdrop; return 0; } -- cgit v1.2.3