File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -180,17 +180,17 @@ void NHTFlowCache::finish()
180180#ifdef WITH_CTT
181181 if (m_flow_table[i]->is_in_ctt ) {
182182 send_export_request_to_ctt (m_flow_table[i]->m_flow .flow_hash_ctt );
183- m_ctt_controller [m_flow_table[i]->m_flow .flow_hash_ctt ]--;
184- if (m_ctt_controller [m_flow_table[i]->m_flow .flow_hash_ctt ] == 0 ) {
185- m_ctt_controller .erase (m_flow_table[i]->m_flow .flow_hash_ctt );
183+ m_hashes_in_ctt [m_flow_table[i]->m_flow .flow_hash_ctt ]--;
184+ if (m_hashes_in_ctt [m_flow_table[i]->m_flow .flow_hash_ctt ] == 0 ) {
185+ m_hashes_in_ctt .erase (m_flow_table[i]->m_flow .flow_hash_ctt );
186186 }
187187 }
188188#endif /* WITH_CTT */
189189 plugins_pre_export (m_flow_table[i]->m_flow );
190190 export_flow (i, FLOW_END_FORCED);
191191 }
192192 }
193- if (m_ctt_controller .size () > 0 ){
193+ if (m_hashes_in_ctt .size () > 0 ){
194194 throw " bad CTT size" ;
195195 }
196196}
You can’t perform that action at this time.
0 commit comments