Imported Upstream version 2.5.1
[ossec-hids.git] / src / monitord / report.c
index bddeb89..0494132 100755 (executable)
@@ -1,11 +1,11 @@
-/* @(#) $Id: report.c,v 1.4 2009/06/24 17:06:27 dcid Exp $ */
+/* @(#) $Id$ */
 
-/* Copyright (C) 2009 Trend Micro Inc.
+/* Copyright (C) 2010 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
  */
 
@@ -56,6 +56,8 @@ int main(int argc, char **argv)
     r_filter.rule = NULL;
     r_filter.level = NULL;
     r_filter.location = NULL;
+    r_filter.srcip = NULL;
+    r_filter.user = NULL;
 
     r_filter.related_group = 0;
     r_filter.related_rule = 0;
@@ -73,7 +75,7 @@ int main(int argc, char **argv)
                 print_version();
                 break;
             case 'h':
-                report_help(ARGV0);
+                report_help();
                 break;
             case 'd':
                 nowDebug();
@@ -132,7 +134,7 @@ int main(int argc, char **argv)
                 test_config = 1;    
                 break;
             default:
-                report_help(ARGV0);
+                report_help();
                 break;
         }