Skip to content

Commit 691b713

Browse files
committed
++ cache
1 parent 789eb74 commit 691b713

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/cache.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ size_t NHTFlowCache::get_empty_place(CacheRowSpan& row, const timeval& now) noex
567567
m_cache_stats.not_empty++;
568568

569569
#ifdef WITH_CTT
570-
const size_t victim_index = row.find_victim(packet.ts);
570+
const size_t victim_index = row.find_victim(now);
571571
#else /* WITH_CTT */
572572
const size_t victim_index = m_line_size - 1;
573573
#endif /* WITH_CTT */

0 commit comments

Comments
 (0)