From: Florian Forster Date: Tue, 4 Aug 2009 10:13:41 +0000 (+0200) Subject: network plugin: Fix an incorrectly used configuration variable. X-Git-Tag: collectd-4.7.3~15 X-Git-Url: https://git.tokkee.org/?p=collectd.git;a=commitdiff_plain;h=515a4e0625d35c791daf283c91461416e6be65ed network plugin: Fix an incorrectly used configuration variable. The `CacheFlush' option was assigned to the `TTL' variable. Ouch. Version 4.6 and earlier are not effected. --- diff --git a/src/network.c b/src/network.c index 0a74a190..0e246c20 100644 --- a/src/network.c +++ b/src/network.c @@ -2768,7 +2768,7 @@ static int network_config_set_cache_flush (const oconfig_item_t *ci) /* {{{ */ tmp = (int) ci->values[0].value.number; if (tmp > 0) - network_config_ttl = tmp; + cache_flush_interval = tmp; return (0); } /* }}} int network_config_set_cache_flush */