]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
spelling: aggressive
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 19 Nov 2025 16:24:18 +0000 (11:24 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 20 Nov 2025 12:31:09 +0000 (07:31 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
pdns/recursordist/aggressive_nsec.cc
regression-tests.recursor-dnssec/test_AggressiveNSECCache.py

index 14b5f61cc4bf33844a4c1aa04022ae98b5311f1c..b89b9d723223e3404a6169283f67bf2a9bac4fe1 100644 (file)
@@ -171,7 +171,7 @@ void AggressiveNSECCache::prune(time_t now)
       auto& sidx = boost::multi_index::get<ZoneEntry::SequencedTag>(zoneEntry->d_entries);
       const auto toTrimForThisZone = static_cast<uint64_t>(std::round(static_cast<double>(toErase) * static_cast<double>(zoneSize) / static_cast<double>(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;
index 5ea3ebfdce22d136c4f51a1311c127f7867ff32c..8724791f1290551b52e2f347cd809f60a413f8a4 100644 (file)
@@ -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