diff options
author | Guy Harris <guy@alum.mit.edu> | 2009-09-21 10:26:37 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2009-09-21 10:26:37 -0700 |
commit | 2fbb5a5e315355746f0c863bf4a9757057478561 (patch) | |
tree | 8f6a68d5bdd95278e60c9b51b456337ad64ad222 | |
parent | 420e592e02549a3b5e039d66c7ffa66176afffa8 (diff) |
Copy the right value to the ps_ifdrop statistic.
-rw-r--r-- | pcap-linux.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |