Skip to content

Commit 0e67254

Browse files
committed
++ cache
1 parent 091cccf commit 0e67254

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

storage/cache.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -459,9 +459,9 @@ int NHTFlowCache::put_pkt(Packet &pkt)
459459
flow_index = row_begin + m_new_flow_insert_index;
460460
#ifdef WITH_CTT
461461
if (m_flow_table[flow_index.value()]->is_in_ctt){
462-
m_flow_table[flow_index]->is_waiting_for_export = true;
463-
send_export_request_to_ctt(m_flow_table[flow_index]->m_flow.flow_hash_ctt);
464-
m_flow_table[flow_index]->export_time = {pkt.ts.tv_sec + 1, pkt.ts.tv_usec};
462+
m_flow_table[flow_index.value()]->is_waiting_for_export = true;
463+
send_export_request_to_ctt(m_flow_table[flow_index.value()]->m_flow.flow_hash_ctt);
464+
m_flow_table[flow_index.value()]->export_time = {pkt.ts.tv_sec + 1, pkt.ts.tv_usec};
465465
}
466466
#endif /* WITH_CTT */
467467
plugins_pre_export(m_flow_table[flow_index.value()]->m_flow);

0 commit comments

Comments
 (0)