Fix for redmine bug 1737

PCAP stats not reset between files in Unix socket mode. Added a memset to the Global Init function to clear these stats.
pull/1970/head
browner87 9 years ago committed by Victor Julien
parent 06dcaec335
commit d05883af9b

@ -136,6 +136,7 @@ void TmModuleDecodePcapFileRegister (void)
void PcapFileGlobalInit()
{
memset(&pcap_g, 0x00, sizeof(pcap_g));
SC_ATOMIC_INIT(pcap_g.invalid_checksums);
}

Loading…
Cancel
Save