Skip to content

Commit c100a5d

Browse files
committed
++ cache
1 parent 319e4eb commit c100a5d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

storage/cache.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,10 @@ int NHTFlowCache::put_pkt(Packet& packet)
533533
export_expired(packet.ts);
534534
return 0;
535535
}
536-
536+
const size_t index = flow_id.index();
537+
if (!std::holds_alternative<std::pair<size_t, bool>>(flow_id)) {
538+
std::cout << std::endl;
539+
}
537540
const auto [flow_index, source_to_destination] = std::get<std::pair<size_t, bool>>(flow_id);
538541
#ifdef WITH_CTT
539542
const bool flow_is_waiting_for_export = !try_to_export_delayed_flow(packet, flow_index) && m_flow_table[flow_index]->is_waiting_for_export;

0 commit comments

Comments
 (0)