]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
If routing tag entries were found but rejected, return -1 9968/head
authorOtto <otto.moerbeek@open-xchange.com>
Wed, 13 Jan 2021 11:39:26 +0000 (12:39 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Wed, 13 Jan 2021 11:39:26 +0000 (12:39 +0100)
pdns/recursor_cache.cc

index 4b5974b264ba5819bde60877a81c4ca02194fb6a..4b2d04380a2824a3c147ce3e83a60ab70e315e3f 100644 (file)
@@ -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;
       }
     }
   }