From: Pavel Rochnyack Date: Tue, 19 Dec 2017 13:30:12 +0000 (+0700) Subject: ipmi plugin: Fix broken 'Sensor' configuration option X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=39ef2f94ba6ba524146ddfa9365b57c3a73308b1;p=collectd.git ipmi plugin: Fix broken 'Sensor' configuration option --- diff --git a/src/ipmi.c b/src/ipmi.c index f28ac52c..2db344e6 100644 --- a/src/ipmi.c +++ b/src/ipmi.c @@ -1065,7 +1065,7 @@ static int c_ipmi_config_add_instance(oconfig_item_t *ci) { oconfig_item_t *child = ci->children + i; if (strcasecmp("Sensor", child->key) == 0) - ignorelist_add(st->ignorelist, ci->values[0].value.string); + ignorelist_add(st->ignorelist, child->values[0].value.string); else if (strcasecmp("IgnoreSelected", child->key) == 0) { _Bool t; status = cf_util_get_boolean(child, &t);