detect/iponly: minor code cleanup

pull/7434/head
Victor Julien 3 years ago
parent beecc1890f
commit 1b65af2867

@ -1688,8 +1688,6 @@ static void DetectEngineAddDecoderEventSig(DetectEngineCtx *de_ctx, Signature *s
*/
int SigAddressPrepareStage2(DetectEngineCtx *de_ctx)
{
uint32_t sigs = 0;
SCLogDebug("building signature grouping structure, stage 2: "
"building source address lists...");
@ -1713,13 +1711,10 @@ int SigAddressPrepareStage2(DetectEngineCtx *de_ctx)
if (s->init_data->init_flags & SIG_FLAG_INIT_DEONLY) {
DetectEngineAddDecoderEventSig(de_ctx, s);
}
sigs++;
}
IPOnlyPrepare(de_ctx);
IPOnlyPrint(de_ctx, &de_ctx->io_ctx);
return 0;
}

Loading…
Cancel
Save