From cb4b25fc2afbffdd79a95d16a8a94b6324542be5 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@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 e6cf910f..7f9c2a1a 100644 --- a/program/doc/rrdcached.pod +++ b/program/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/program/src/rrd_daemon.c b/program/src/rrd_daemon.c index 215b6208..78426e6b 100644 --- a/program/src/rrd_daemon.c +++ b/program/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