From 515a4e0625d35c791daf283c91461416e6be65ed Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Tue, 4 Aug 2009 12:13:41 +0200 Subject: [PATCH] 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. --- src/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.30.2