From d0baa83d2b80127b314ca13b03ccd5222707afc1 Mon Sep 17 00:00:00 2001 From: Andreas Herz Date: Wed, 15 Jun 2016 23:44:34 +0200 Subject: [PATCH] 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. --- src/util-runmodes.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util-runmodes.c b/src/util-runmodes.c index 8f01983ab4..b7e8f09cca 100644 --- a/src/util-runmodes.c +++ b/src/util-runmodes.c @@ -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) { -- 2.47.2