]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
ueberbackend: initialise all the things 9655/head
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Fri, 30 Oct 2020 09:56:08 +0000 (10:56 +0100)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Fri, 30 Oct 2020 09:56:08 +0000 (10:56 +0100)
pdns/ueberbackend.cc

index b0c1a912b84468a5da7dcdf557f22370d442bfa9..aedc02813d81ac0ebd69aed35823d55cd6f127c5 100644 (file)
@@ -469,7 +469,7 @@ UeberBackend::UeberBackend(const string &pname)
   d_cached=0;
   d_cache_ttl = ::arg().asNum("query-cache-ttl");
   d_negcache_ttl = ::arg().asNum("negquery-cache-ttl");
-
+  d_qtype = 0;
   d_stale = false;
 
   backends=BackendMakers().all(pname=="key-only");
@@ -682,6 +682,7 @@ UeberBackend::handle::handle()
   d_hinterBackend=NULL;
   pkt_p=NULL;
   i=0;
+  zoneId = -1;
 }
 
 UeberBackend::handle::~handle()