ipsec: IPSec protection for multi-point tunnel interfaces
[vpp.git] / src / vppinfra / pcap.c
index 8f644e3..0ca923e 100644 (file)
@@ -157,9 +157,6 @@ pcap_write (pcap_main_t * pm)
       pm->n_pcap_data_written = 0;
     }
 
-  if (pm->n_packets_captured >= pm->n_packets_to_capture)
-    pcap_close (pm);
-
 done:
   if (error)
     {