]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
spelling: sanitize
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 19 Nov 2025 17:39:29 +0000 (12:39 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 20 Nov 2025 12:32:42 +0000 (07:32 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
pdns/recursordist/recursor_cache.cc

index b665f0b4bd8d41d3eb6c5e939c95fe6f14fdefd0..4742249ec6e8c984321a30e0053a48fd7ec349a7 100644 (file)
@@ -736,7 +736,7 @@ void MemRecursorCache::replace(time_t now, const DNSName& qname, const QType qty
     cacheEntry.d_orig_ttl = cacheEntry.d_ttd - ttl_time;
     // Even though we record the time the ttd was computed, there still seems to be a case where the computed
     // d_orig_ttl can wrap.
-    // So santize the computed ce.d_orig_ttl to be on the safe side
+    // So sanitize the computed ce.d_orig_ttl to be on the safe side
     if (cacheEntry.d_orig_ttl < SyncRes::s_minimumTTL || cacheEntry.d_orig_ttl > SyncRes::s_maxcachettl) {
       cacheEntry.d_orig_ttl = SyncRes::s_minimumTTL;
     }