eve: output more unique flow_id

pull/2211/head
Victor Julien 9 years ago
parent 78b4db8a95
commit 9ca34fa5c9

@ -166,7 +166,8 @@ void CreateJSONFlowId(json_t *js, const Flow *f)
{ {
if (f == NULL) if (f == NULL)
return; return;
json_object_set_new(js, "flow_id", json_integer(f->flow_hash)); int64_t flow_id = FlowGetId(f);
json_object_set_new(js, "flow_id", json_integer(flow_id));
} }
json_t *CreateJSONHeader(const Packet *p, int direction_sensitive, json_t *CreateJSONHeader(const Packet *p, int direction_sensitive,

Loading…
Cancel
Save