util-runmode: pass initdata to runmode workers for nfqueue

The VerdictNFQ was missing the initdata which results in a segfault
within CaptureStatsSetup. This commit adds the passing of the initdata.
pull/2156/head
Andreas Herz 10 years ago committed by Victor Julien
parent f7124b1149
commit d0baa83d2b

@ -629,7 +629,7 @@ int RunModeSetIPSWorker(ConfigIPSParserFunc ConfigParser,
exit(EXIT_FAILURE);
}
TmSlotSetFuncAppend(tv, tm_module, NULL);
TmSlotSetFuncAppend(tv, tm_module, (void *) ConfigParser(i));
tm_module = TmModuleGetByName("RespondReject");
if (tm_module == NULL) {

Loading…
Cancel
Save