From: Otto Date: Wed, 13 Jan 2021 11:39:26 +0000 (+0100) Subject: If routing tag entries were found but rejected, return -1 X-Git-Tag: rec-4.5.0-alpha1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9968%2Fhead;p=thirdparty%2Fpdns.git If routing tag entries were found but rejected, return -1 --- diff --git a/pdns/recursor_cache.cc b/pdns/recursor_cache.cc index 4b5974b264..4b2d04380a 100644 --- a/pdns/recursor_cache.cc +++ b/pdns/recursor_cache.cc @@ -357,6 +357,8 @@ int32_t MemRecursorCache::get(time_t now, const DNSName &qname, const QType& qt, *state = *cachedState; } return fakeTTD(firstIndexIterator, qname, qtype, ttd, now, origTTL, refresh); + } else { + return -1; } } }