]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
suricata: storage early to get it everywhere
authorEric Leblond <eric@regit.org>
Tue, 12 Sep 2017 21:53:51 +0000 (22:53 +0100)
committerVictor Julien <victor@inliniac.net>
Tue, 19 Dec 2017 20:00:15 +0000 (21:00 +0100)
src/suricata.c

index 70db2432e83389e44c0aec02c2ef0c9281b5dd06..fd8b8d4796ff10b46dd1fe02af2e7990f5f0a96f 100644 (file)
@@ -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();