From 2d99eb86ab3bc3a01be6c65502a04151335316ba 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/program@2180 a5681a0c-68f1-0310-ab6d-d61299d08faa --- doc/rrdcached.pod | 2 +- src/rrd_daemon.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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)); -- 2.30.2