From 262657838159ff78412fba3e41ee5f697d956038 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/branches/1.4/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 e6cf910..7f9c2a1 100644 --- a/doc/rrdcached.pod +++ b/doc/rrdcached.pod @@ -403,7 +403,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 215b620..78426e6 100644 --- a/src/rrd_daemon.c +++ b/src/rrd_daemon.c @@ -2224,7 +2224,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