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.
pull/4122/head
Eric Leblond 7 years ago committed by Victor Julien
parent 9f016f8ba1
commit 094d28d40e

@ -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 */

Loading…
Cancel
Save