Skip to content

Commit 0559658

Browse files
committed
Flow cache - export hash to flow
1 parent f39c4eb commit 0559658

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

storage/cache.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ void FlowRecord::create(const Packet &pkt, uint64_t hash)
107107

108108
m_flow.time_first = pkt.ts;
109109
m_flow.time_last = pkt.ts;
110+
m_flow.flow_hash = hash;
110111

111112
memcpy(m_flow.src_mac, pkt.src_mac, 6);
112113
memcpy(m_flow.dst_mac, pkt.dst_mac, 6);

0 commit comments

Comments
 (0)