From 094d28d40e98680a8003cc67620e578a3f1ec27e Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Thu, 20 Jun 2019 13:02:51 +0200 Subject: [PATCH] flow-hash: generalize function THis patch generalizes the function to get a flow by its flowkey by removing the call setting it to capture bypassed state. --- src/flow-hash.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/flow-hash.c b/src/flow-hash.c index 19d828e837..e7788b2f1b 100644 --- a/src/flow-hash.c +++ b/src/flow-hash.c @@ -780,7 +780,6 @@ Flow *FlowGetFromFlowKey(FlowKey *key, struct timespec *ttime, const uint32_t ha } else if (key->src.family == AF_INET6) { f->flags |= FLOW_IPV6; } - FlowUpdateState(f, FLOW_STATE_CAPTURE_BYPASSED); f->protomap = FlowGetProtoMapping(f->proto); /* set timestamp to now */ -- 2.47.2