summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 13d7a72)
raw | patch | inline | side by side (parent: 13d7a72)
author | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 15 Mar 2011 07:53:03 +0000 (07:53 +0000) | ||
committer | oetiker <oetiker@a5681a0c-68f1-0310-ab6d-d61299d08faa> | |
Tue, 15 Mar 2011 07:53:03 +0000 (07:53 +0000) |
doc/rrdcached.pod | patch | blob | history | |
src/rrd_daemon.c | patch | blob | history |
diff --git a/doc/rrdcached.pod b/doc/rrdcached.pod
index 4c8048cab700f019a3a09a987bbc97094f46975d..18adcf15c8247839b28503651d14c50c1649f1b9 100644 (file)
--- a/doc/rrdcached.pod
+++ b/doc/rrdcached.pod
authentication for clients connecting to the rrdcache daemon!
If your rrdtool installation was built with libwrap then you can use
-hosts_access to restrict client access to the rrdcache daemon. For more
+hosts_access to restrict client access to the rrdcache daemon (rrdcached). For more
information on how to use hosts_access to restrict access to the rrdcache
daemon you should read the hosts_access(5) man pages.
diff --git a/src/rrd_daemon.c b/src/rrd_daemon.c
index 2eb69301d179f8b5653ed599c3f99d80d4c7eb94..9ecd39fb1d694498282627b4380b8c70b9e75b28 100644 (file)
--- a/src/rrd_daemon.c
+++ b/src/rrd_daemon.c
getting overwritten by another thread.
*/
struct request_info req;
- request_init(&req, RQ_DAEMON, "rrdcache\0", RQ_FILE, fd, NULL );
+ request_init(&req, RQ_DAEMON, "rrdcached\0", RQ_FILE, fd, NULL );
fromhost(&req);
if(!hosts_access(&req)) {
RRDD_LOG(LOG_INFO, "refused connection from %s", eval_client(&req));