Bug #123 ยป 0001-fix-for-pcap-error-displayed-at-exit-flow-mem.h-remo.patch
src/Makefile.am | ||
---|---|---|
flow-queue.c flow-queue.h \
|
||
flow-hash.c flow-hash.h \
|
||
flow-util.c flow-util.h \
|
||
flow-mem.h \
|
||
util-mem.h \
|
||
flow-var.c flow-var.h \
|
||
flow-bit.c flow-bit.h \
|
src/source-pcap-file.c | ||
---|---|---|
EngineStop();
|
||
return TM_ECODE_FAILED;
|
||
} else if (r == 0) {
|
||
SCLogError(SC_ERR_PCAP_DISPATCH, "Error dispatching pcap file or end of pcap file, code %" PRId32 " error %s", r, pcap_geterr(pcap_g.pcap_handle));
|
||
/* we will always have an error code 0 at the end of reading a savefile this is not an error 0 on success, -1 on error and -2 if breakloop was used interrupt the captue */
|
||
SCLogInfo("End of pcap file reached, code %" PRId32 "", r);
|
||
EngineStop();
|
||
SCReturnInt(TM_ECODE_FAILED);
|
||
}
|