From ed581b56f420e013eedda86a9dd8806bbb7b123b Mon Sep 17 00:00:00 2001 From: brectanus Date: Mon, 28 Jan 2008 22:10:12 +0000 Subject: [PATCH] Revert part of the noauditlog fix in changelog:878. See #451. --- apache2/re.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/apache2/re.c b/apache2/re.c index ecb16900..28c1bc5c 100644 --- a/apache2/re.c +++ b/apache2/re.c @@ -1585,11 +1585,8 @@ static void msre_perform_disruptive_actions(modsec_rec *msr, msre_rule *rule, } } - /* If "noauditlog" used do not mark the transaction for audit logging. */ - if (actionset->auditlog == 0) { - msr->is_relevant = 0; - } - else { + /* If "noauditlog" used do not mark the transaction relevant. */ + if (actionset->auditlog != 0) { msr->is_relevant++; }