projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 2.5.1
[ossec-hids.git]
/
src
/
monitord
/
monitord.c
diff --git
a/src/monitord/monitord.c
b/src/monitord/monitord.c
index
b68d984
..
33ab59d
100755
(executable)
--- a/
src/monitord/monitord.c
+++ b/
src/monitord/monitord.c
@@
-1,11
+1,11
@@
-/* @(#) $Id: monitord.c,v 1.9 2009/06/24 17:06:27 dcid Exp $ */
+/* @(#) $Id$ */
/* 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
/* 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
*/
* Foundation
*/
@@
-77,6
+77,9
@@
void Monitord()
/* Day changed, deal with log files */
if(today != p->tm_mday)
{
/* Day changed, deal with log files */
if(today != p->tm_mday)
{
+ /* Generate reports. */
+ generate_reports(today, thismonth, thisyear, p);
+
manage_files(today, thismonth, thisyear);
today = p->tm_mday;
manage_files(today, thismonth, thisyear);
today = p->tm_mday;