]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Use named qtype 10004/head
authorOtto Moerbeek <otto@drijf.net>
Wed, 27 Jan 2021 14:24:01 +0000 (15:24 +0100)
committerGitHub <noreply@github.com>
Wed, 27 Jan 2021 14:24:01 +0000 (15:24 +0100)
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
pdns/recursordist/test-negcache_cc.cc

index 566d46912ce8742dcf647ed8a582522643c6bc4a..7cffa8128702a7fbb40d2c61557fe4ebe5ef48e5 100644 (file)
@@ -85,7 +85,7 @@ BOOST_AUTO_TEST_CASE(test_get_entry2038)
   BOOST_CHECK_EQUAL(cache.size(), 1U);
 
   NegCache::NegCacheEntry ne;
-  bool ret = cache.get(qname, QType(1), now, ne);
+  bool ret = cache.get(qname, QType(QType::A), now, ne);
 
   BOOST_CHECK(ret);
   BOOST_CHECK_EQUAL(ne.d_name, qname);