From: oetiker Date: Tue, 15 Mar 2011 07:53:03 +0000 (+0000) Subject: with libwrap use 'rrdcached' as the name of our daemon and not just rrdcache X-Git-Url: https://git.octo.it/?p=rrdtool.git;a=commitdiff_plain;h=2d99eb86ab3bc3a01be6c65502a04151335316ba with libwrap use 'rrdcached' as the name of our daemon and not just rrdcache git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2180 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/doc/rrdcached.pod b/doc/rrdcached.pod index 4c8048c..18adcf1 100644 --- a/doc/rrdcached.pod +++ b/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/src/rrd_daemon.c b/src/rrd_daemon.c index 2eb6930..9ecd39f 100644 --- a/src/rrd_daemon.c +++ b/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));