Added placeholder support for skipAfter so that it works with removed rules. See #258.

This commit is contained in:
brectanus
2007-11-26 22:27:15 +00:00
parent 1860e2a35e
commit 9447ae67b8
6 changed files with 105 additions and 23 deletions

View File

@@ -109,6 +109,9 @@ int DSOLOCAL msre_ruleset_phase_rule_remove_with_exception(msre_ruleset *ruleset
#define RULE_NO_MATCH 0
#define RULE_MATCH 1
#define RULE_PH_NONE 0 /* Not a placeholder */
#define RULE_PH_TARGET 1 /* Placeholder for skipafter targets */
struct msre_rule {
apr_array_header_t *targets;
const char *op_name;
@@ -120,6 +123,7 @@ struct msre_rule {
const char *p1;
const char *filename;
int line_num;
int placeholder;
msre_ruleset *ruleset;
msre_rule *chain_starter;