X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?p=ossec-hids.git;a=blobdiff_plain;f=src%2Fmonitord%2Freport.c;fp=src%2Fmonitord%2Freport.c;h=0494132563bdc16a9ed7e52cb5b437c3c5934849;hp=bddeb89283ea799ce21b9381f250081f0967a5d6;hb=a62b46c229549212d536867b7e5e24d7576ebe8b;hpb=d623b82886b9b5fbba3fa27c3bfac51f3f8af108 diff --git a/src/monitord/report.c b/src/monitord/report.c index bddeb89..0494132 100755 --- a/src/monitord/report.c +++ b/src/monitord/report.c @@ -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; }