From db5c24323d739c4f3734c69d545ef8f208de4b5a Mon Sep 17 00:00:00 2001 From: oetiker Date: Tue, 15 Mar 2011 07:53:03 +0000 Subject: [PATCH] with libwrap use 'rrdcached' as the name of our daemon and not just rrdcache git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2180 a5681a0c-68f1-0310-ab6d-d61299d08faa --- program/doc/rrdcached.pod | 2 +- program/src/rrd_daemon.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/program/doc/rrdcached.pod b/program/doc/rrdcached.pod index 4c8048ca..18adcf15 100644 --- a/program/doc/rrdcached.pod +++ b/program/doc/rrdcached.pod @@ -426,7 +426,7 @@ If your rrdtool installation was built without libwrap there is no form of 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/program/src/rrd_daemon.c b/program/src/rrd_daemon.c index 2eb69301..9ecd39fb 100644 --- a/program/src/rrd_daemon.c +++ b/program/src/rrd_daemon.c @@ -2654,7 +2654,7 @@ static void *connection_thread_main (void *args) /* {{{ */ 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)); -- 2.30.2