Fix ipMatch entry on ErrorLog and DebugLog

ipMatch message on error log was not correct, it was missing the matched
ip address. This commit adds the correct matched ip address.
(See issue #738)
This commit is contained in:
Felipe Zimmerle 2014-06-12 15:44:56 -07:00
parent 5d92e448ae
commit 046b553736

View File

@ -145,7 +145,7 @@ static int msre_op_ipmatch_execute(modsec_rec *msr, msre_rule *rule, msre_var *v
}
if (res > 0) {
*error_msg = apr_psprintf(msr->mp, "%s at %s.", *error_msg, var->name);
*error_msg = apr_psprintf(msr->mp, "IPmatch: \"%s\" matched at %s.", var->value, var->name);
}
return res;