projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
novi upstream verzije 2.8.3
[ossec-hids.git]
/
src
/
rootcheck
/
run_rk_check.c
diff --git
a/src/rootcheck/run_rk_check.c
b/src/rootcheck/run_rk_check.c
index
0e2c805
..
dac989a
100755
(executable)
--- a/
src/rootcheck/run_rk_check.c
+++ b/
src/rootcheck/run_rk_check.c
@@
-25,7
+25,7
@@
int notify_rk(int rk_type, char *msg)
{
if(rk_type == ALERT_OK)
printf("[OK]: %s\n", msg);
{
if(rk_type == ALERT_OK)
printf("[OK]: %s\n", msg);
- else if(rk_type == ALERT_SYSTEM_ERROR)
+ else if(rk_type == ALERT_SYSTEM_ERR)
printf("[ERR]: %s\n", msg);
else if(rk_type == ALERT_POLICY_VIOLATION)
printf("[INFO]: %s\n", msg);
printf("[ERR]: %s\n", msg);
else if(rk_type == ALERT_POLICY_VIOLATION)
printf("[INFO]: %s\n", msg);
@@
-39,7
+39,7
@@
int notify_rk(int rk_type, char *msg)
}
/* No need to alert on that to the server */
}
/* No need to alert on that to the server */
- if(rk_type <= ALERT_SYSTEM_ERROR)
+ if(rk_type <= ALERT_SYSTEM_ERR)
return(0);
#ifdef OSSECHIDS
return(0);
#ifdef OSSECHIDS