From: Eric Leblond Date: Tue, 12 Sep 2017 21:53:51 +0000 (+0100) Subject: suricata: storage early to get it everywhere X-Git-Tag: suricata-4.1.0-beta1~433 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f9f130ec320913d4276ca4607c1d19d8bae55d8;p=thirdparty%2Fsuricata.git suricata: storage early to get it everywhere --- 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();