dect
/
libpcap
Archived
13
0
Fork 0

Set ps_ifdrop after ps_drop, so we process the statistics in order.

This commit is contained in:
Guy Harris 2009-09-07 16:49:59 -07:00
parent 806f42441a
commit ef9aa50d23
1 changed files with 1 additions and 1 deletions

View File

@ -692,8 +692,8 @@ usb_stats_linux_bin(pcap_t *handle, struct pcap_stat *stats)
}
stats->ps_recv = handle->md.packets_read + st.queued;
stats->ps_ifdrop = 0;
stats->ps_drop = st.dropped;
stats->ps_ifdrop = 0;
return 0;
}