projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a770867
)
network plugin: Fix an incorrectly used configuration variable.
author
Florian Forster
<octo@huhu.verplant.org>
Tue, 4 Aug 2009 10:13:41 +0000
(12:13 +0200)
committer
Florian Forster
<octo@huhu.verplant.org>
Tue, 4 Aug 2009 10:13:41 +0000
(12:13 +0200)
The `CacheFlush' option was assigned to the `TTL' variable. Ouch.
Version 4.6 and earlier are not effected.
src/network.c
patch
|
blob
|
history
diff --git
a/src/network.c
b/src/network.c
index
0a74a19
..
0e246c2
100644
(file)
--- 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_tt
l = tmp;
+
cache_flush_interva
l = tmp;
return (0);
} /* }}} int network_config_set_cache_flush */