dect
/
libpcap
Archived
1
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.
master
Guy Harris 13 years ago
parent 1d47ee92c3
commit 4b9a27475e
  1. 1
      pcap-dag.c

@ -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