]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
Move CreateLowercaseTable to GLobalInits
authorEric Leblond <eric@regit.org>
Tue, 28 May 2013 09:17:15 +0000 (11:17 +0200)
committerEric Leblond <eric@regit.org>
Tue, 30 Jul 2013 13:22:34 +0000 (15:22 +0200)
src/suricata.c

index 05ddd567a7d7f211e3cb769ee720dbaceb870e8e..225c88dee63d2930f1d25946871b095dee75ac0c 100644 (file)
@@ -317,6 +317,8 @@ void GlobalInits()
         SCLogInfo("Trans_Q Mutex not initialized correctly");
         exit(EXIT_FAILURE);
     }
+
+    CreateLowercaseTable();
 }
 
 /* XXX hack: make sure threads can stop the engine by calling this
@@ -1891,8 +1893,6 @@ int main(int argc, char **argv)
         }
     }
 
-    CreateLowercaseTable();
-
     /* hardcoded initialization code */
     SigTableSetup(); /* load the rule keywords */
     TmqhSetup();