dect
/
libpcap
Archived
13
0
Fork 0

Return 0 for the ps_ifdrop value, rather than leaving it with whatever

random data it might have.
This commit is contained in:
Guy Harris 2009-09-07 16:45:24 -07:00
parent 2032d35228
commit 1d47ee92c3
1 changed files with 1 additions and 0 deletions

View File

@ -744,6 +744,7 @@ pcap_stats_bpf(pcap_t *p, struct pcap_stat *ps)
ps->ps_recv = s.bs_recv;
ps->ps_drop = s.bs_drop;
ps->ps_ifdrop = 0;
return (0);
}