We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbc2533 commit 2164854Copy full SHA for 2164854
src/inputs/pcap/PcapInputStream.cpp
@@ -384,6 +384,9 @@ void PcapInputStream::process_raw_packet(pcpp::RawPacket *rawPacket)
384
}
385
386
for (uint8_t counter = 0; counter < MAX_TCP_CLEANUPS; counter++) {
387
+ if (_lru_list.getSize() == 0) {
388
+ break;
389
+ }
390
auto connection = _lru_list.getLRUElement();
391
if (timestamp.tv_sec < connection.second.tv_sec + TCP_TIMEOUT) {
392
break;
0 commit comments