From 7f9f130ec320913d4276ca4607c1d19d8bae55d8 Mon Sep 17 00:00:00 2001 From: Eric Leblond Date: Tue, 12 Sep 2017 22:53:51 +0100 Subject: [PATCH] suricata: storage early to get it everywhere --- src/suricata.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/suricata.c b/src/suricata.c index 70db2432e8..fd8b8d4796 100644 --- a/src/suricata.c +++ b/src/suricata.c @@ -2631,6 +2631,7 @@ static int PostConfLoadedSetup(SCInstance *suri) ConfSet("runmode", suri->runmode_custom_mode); } + StorageInit(); AppLayerSetup(); /* Check for the existance of the default logging directory which we pick @@ -2698,7 +2699,6 @@ static int PostConfLoadedSetup(SCInstance *suri) SigTableSetup(); /* load the rule keywords */ TmqhSetup(); - StorageInit(); CIDRInit(); SCProtoNameInit();