From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Wed, 19 Nov 2025 16:24:18 +0000 (-0500) Subject: spelling: aggressive X-Git-Tag: rec-5.4.0-alpha1~61^2~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31f84dc6d2c8f4e8846ee026afe85c39155f876d;p=thirdparty%2Fpdns.git spelling: aggressive Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- diff --git a/pdns/recursordist/aggressive_nsec.cc b/pdns/recursordist/aggressive_nsec.cc index 14b5f61cc4..b89b9d7232 100644 --- a/pdns/recursordist/aggressive_nsec.cc +++ b/pdns/recursordist/aggressive_nsec.cc @@ -171,7 +171,7 @@ void AggressiveNSECCache::prune(time_t now) auto& sidx = boost::multi_index::get(zoneEntry->d_entries); const auto toTrimForThisZone = static_cast(std::round(static_cast(toErase) * static_cast(zoneSize) / static_cast(entriesCount))); if (entriesCount < zoneSize) { - throw std::runtime_error("Inconsistent agggressive cache " + std::to_string(entriesCount) + " " + std::to_string(zoneSize)); + throw std::runtime_error("Inconsistent aggressive cache " + std::to_string(entriesCount) + " " + std::to_string(zoneSize)); } // This is comparable to what cachecleaner.hh::pruneMutexCollectionsVector() is doing, look there for an explanation entriesCount -= zoneSize; diff --git a/regression-tests.recursor-dnssec/test_AggressiveNSECCache.py b/regression-tests.recursor-dnssec/test_AggressiveNSECCache.py index 5ea3ebfdce..8724791f12 100644 --- a/regression-tests.recursor-dnssec/test_AggressiveNSECCache.py +++ b/regression-tests.recursor-dnssec/test_AggressiveNSECCache.py @@ -49,7 +49,7 @@ class AggressiveNSECCacheBase(RecursorTest): self.assertTrue(False) def testNoEDE(self): - # This isn't an aggresive cache check, but the strcuture is very similar to the others, + # This isn't an aggressive cache check, but the strcuture is very similar to the others, # so letys place it here. # It test the issue that an intermediate EDE does not get reported with the final answer # https://github.com/PowerDNS/pdns/pull/12694