From: Florian Forster Date: Sat, 22 Nov 2008 00:02:08 +0000 (+0100) Subject: src/filter_chain.c: Add `Target' blocks to `Chain' blocks. X-Git-Tag: collectd-4.6.0~156^2~3 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2098d38aca721db2d77b918b22b1986a125295d2;p=collectd.git src/filter_chain.c: Add `Target' blocks to `Chain' blocks. I simply forgot them :/ --- diff --git a/src/filter_chain.c b/src/filter_chain.c index 9a15661f..57844260 100644 --- a/src/filter_chain.c +++ b/src/filter_chain.c @@ -497,6 +497,8 @@ static int fc_config_add_chain (const oconfig_item_t *ci) /* {{{ */ if (strcasecmp ("Rule", option->key) == 0) status = fc_config_add_rule (chain, option); + else if (strcasecmp ("Target", option->key) == 0) + status = fc_config_add_target (&chain->targets, option); else { WARNING ("Filter subsystem: Chain %s: Option `%s' not allowed "