From 911d4fa6ff8dd2afd86f10e53cf025ed7b1dd250 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 4 Dec 2020 17:17:24 +0100 Subject: [PATCH] rec: Fix a comment, as suggested by Otto --- pdns/recursor_cache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/recursor_cache.cc b/pdns/recursor_cache.cc index 0735f256df..497147b97b 100644 --- a/pdns/recursor_cache.cc +++ b/pdns/recursor_cache.cc @@ -421,7 +421,7 @@ void MemRecursorCache::replace(time_t now, const DNSName &qname, const QType& qt } if (auth) { - /* only if the new entry is auth, we don't want to keep non-auth entry while we have a auth one */ + /* we don't want to keep a non-auth entry while we have an auth one */ if (vStateIsBogus(state) && (!vStateIsBogus(ce.d_state) && ce.d_state != vState::Indeterminate) && ce.d_ttd > now) { /* the new entry is Bogus, the existing one is not and is still valid, let's keep the existing one */ return; -- 2.47.2