detect: style cleanup

pull/3013/head
Victor Julien 7 years ago
parent 64aec6aaea
commit 63291d0f01

@ -947,7 +947,6 @@ void SigMatchSignatures(ThreadVars *th_v, DetectEngineCtx *de_ctx, DetectEngineT
SCLogDebug("STREAM_EOF set"); SCLogDebug("STREAM_EOF set");
} }
{
/* store tenant_id in the flow so that we can use it /* store tenant_id in the flow so that we can use it
* for creating pseudo packets */ * for creating pseudo packets */
if (p->tenant_id > 0 && pflow->tenant_id == 0) { if (p->tenant_id > 0 && pflow->tenant_id == 0) {
@ -1017,7 +1016,6 @@ void SigMatchSignatures(ThreadVars *th_v, DetectEngineCtx *de_ctx, DetectEngineT
pflow->alstate, pflow->alstate,
pflow->alparser, pflow->alparser,
flow_flags); flow_flags);
}
if (((p->flowflags & FLOW_PKT_TOSERVER) && !(p->flowflags & FLOW_PKT_TOSERVER_IPONLY_SET)) || if (((p->flowflags & FLOW_PKT_TOSERVER) && !(p->flowflags & FLOW_PKT_TOSERVER_IPONLY_SET)) ||
((p->flowflags & FLOW_PKT_TOCLIENT) && !(p->flowflags & FLOW_PKT_TOCLIENT_IPONLY_SET))) ((p->flowflags & FLOW_PKT_TOCLIENT) && !(p->flowflags & FLOW_PKT_TOCLIENT_IPONLY_SET)))

Loading…
Cancel
Save