From: Remi Gacogne Date: Mon, 25 Oct 2021 07:54:17 +0000 (+0200) Subject: dnsdist: Fix an erroneous comment in health check handling (thanks Otto!) X-Git-Tag: rec-4.6.0-beta1~41^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=433bb9118cf98a3380c259db1e8fd999478c70c7;p=thirdparty%2Fpdns.git dnsdist: Fix an erroneous comment in health check handling (thanks Otto!) --- diff --git a/pdns/dnsdistdist/dnsdist-healthchecks.cc b/pdns/dnsdistdist/dnsdist-healthchecks.cc index f704eae3a9..56631b8aaa 100644 --- a/pdns/dnsdistdist/dnsdist-healthchecks.cc +++ b/pdns/dnsdistdist/dnsdist-healthchecks.cc @@ -85,7 +85,7 @@ void updateHealthCheckResult(const std::shared_ptr& dss, bool i dss->currentCheckFailures++; if (dss->currentCheckFailures < dss->maxCheckFailures) { /* we need more than one failure to be marked as down, - and we did not reach the threshold yet, let's stay down */ + and we did not reach the threshold yet, let's stay up */ newState = true; } }