summaryrefslogtreecommitdiffstats
path: root/runtime/conf.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-04-19 12:37:39 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-04-19 12:37:39 +0200
commit542fd3300671a2480ff009e060b32f08fed44b4d (patch)
treeb61afaf5b9b76ee8c2b1863afcf1b43dac168001 /runtime/conf.c
parentb722cd3fe608a0bbf4a6df962f9d5c5e547fdc09 (diff)
downloadrsyslog-542fd3300671a2480ff009e060b32f08fed44b4d.tar.gz
rsyslog-542fd3300671a2480ff009e060b32f08fed44b4d.tar.xz
rsyslog-542fd3300671a2480ff009e060b32f08fed44b4d.zip
some more work was required on the ruleset modification
Diffstat (limited to 'runtime/conf.c')
-rw-r--r--runtime/conf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/conf.c b/runtime/conf.c
index 90b1b487..8e05609d 100644
--- a/runtime/conf.c
+++ b/runtime/conf.c
@@ -1184,7 +1184,7 @@ cflineClassic(rsconf_t *conf, uchar *p, rule_t **ppRule)
CHKiRet(ruleset.AddRule(conf, rule.GetAssRuleset(*ppRule), ppRule));
}
CHKiRet(rule.Construct(ppRule)); /* create "fresh" selector */
- CHKiRet(rule.SetAssRuleset(*ppRule, ruleset.GetCurrent())); /* create "fresh" selector */
+ CHKiRet(rule.SetAssRuleset(*ppRule, ruleset.GetCurrent(conf))); /* create "fresh" selector */
CHKiRet(rule.ConstructFinalize(*ppRule)); /* create "fresh" selector */
CHKiRet(cflineDoFilter(&p, *ppRule)); /* pull filters */
}