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 a607524 commit 0f3910dCopy full SHA for 0f3910d
storage/cache.cpp
@@ -541,11 +541,13 @@ int NHTFlowCache::put_pkt(Packet& packet)
541
constexpr bool flow_is_waiting_for_export = false;
542
#endif /* WITH_CTT */
543
544
+#ifdef WITH_CTT
545
if (m_flow_table[flow_index]->is_empty()) {
546
create_record(packet, flow_index, std::get<size_t>(flow_id));
547
export_expired(packet.ts);
548
return 0;
549
}
550
+#endif /* WITH_CTT */
551
552
packet.source_pkt = source_to_destination;
553
/* Existing flow record was found, put flow record at the first index of flow line. */
0 commit comments