Skip to content

Commit 319e4eb

Browse files
committed
++ cache
1 parent 0f3910d commit 319e4eb

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
@@ -529,7 +529,7 @@ int NHTFlowCache::put_pkt(Packet& packet)
529529
if (std::holds_alternative<size_t>(flow_id)) {
530530
const size_t hash_value = std::get<size_t>(flow_id);
531531
const size_t empty_place = get_empty_place(row, packet.ts) + (hash_value & m_line_mask);
532-
create_record(packet, empty_place, std::get<size_t>(flow_id));
532+
create_record(packet, empty_place, hash_value);
533533
export_expired(packet.ts);
534534
return 0;
535535
}

0 commit comments

Comments
 (0)