runmode: Add Reject to IPS worker mode.

remotes/origin/master-1.2.x
Eric Leblond 13 years ago committed by Victor Julien
parent 515d070554
commit 0b2c7dfa5d

@ -1214,6 +1214,12 @@ int RunModeSetIPSWorker(DetectEngineCtx *de_ctx,
TmSlotSetFuncAppend(tv, tm_module, (void *)de_ctx);
tm_module = TmModuleGetByName("RespondReject");
if (tm_module == NULL) {
printf("ERROR: TmModuleGetByName for RespondReject failed\n");
exit(EXIT_FAILURE);
}
TmSlotSetFuncAppend(tv, tm_module, NULL);
SetupOutputs(tv);

Loading…
Cancel
Save