Imported Upstream version 2.7
[ossec-hids.git] / src / analysisd / config.c
index b833278..f6bc2de 100755 (executable)
@@ -1,14 +1,15 @@
-/* @(#) $Id: config.c,v 1.32 2009/11/04 15:18:59 dcid Exp $ */
+/* @(#) $Id: ./src/analysisd/config.c, 2011/09/08 dcid Exp $
+ */
 
 /* Copyright (C) 2009 Trend Micro Inc.
  * All rights reserved.
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
  * Foundation.
  *
- * License details at the LICENSE file included with OSSEC or 
+ * License details at the LICENSE file included with OSSEC or
  * online at: http://www.ossec.net/en/licensing.html
  */
 
@@ -52,12 +53,14 @@ int GlobalConf(char * cfgfile)
     Config.syscheck_ignore = NULL;
     Config.white_list = NULL;
     Config.hostname_white_list = NULL;
-    
+
     /* Default actions -- only log above level 1 */
     Config.mailbylevel = 7;
     Config.logbylevel  = 1;
 
     Config.includes = NULL;
+    Config.lists = NULL;
+    Config.decoders = NULL;
 
     modules|= CGLOBAL;
     modules|= CRULES;
@@ -73,7 +76,7 @@ int GlobalConf(char * cfgfile)
     /* Minimum memory size */
     if(Config.memorysize < 64)
         Config.memorysize = 64;
-        
+
 
     return(0);
 }