dect
/
libpcap
Archived
13
0
Fork 0

handle->md.stat should be zeroed out when we initially allocated the

pcap_t, but, as long as we're initializing ps_drop and ps_recv,
initialize ps_ifdrop.
This commit is contained in:
Guy Harris 2009-09-07 16:48:26 -07:00
parent 1d47ee92c3
commit 4b9a27475e
1 changed files with 1 additions and 0 deletions

View File

@ -803,6 +803,7 @@ static int dag_activate(pcap_t* handle)
handle->cleanup_op = dag_platform_cleanup;
handle->md.stat.ps_drop = 0;
handle->md.stat.ps_recv = 0;
handle->md.stat.ps_ifdrop = 0;
return 0;
#ifdef HAVE_DAG_STREAMS_API