]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
auth: lmdbbackend: auth was unset in get() (always true)
authorKees Monshouwer <mind04@monshouwer.org>
Mon, 6 May 2019 13:23:01 +0000 (15:23 +0200)
committermind04 <mind04@monshouwer.org>
Mon, 6 May 2019 13:23:01 +0000 (15:23 +0200)
modules/lmdbbackend/lmdbbackend.cc

index 0ddc65fe8087c137d815a2241ae7d23d28027bde..a31b25f1024829b38b505fc500a8ecaa5579cbe2 100644 (file)
@@ -618,6 +618,7 @@ bool LMDBBackend::get(DNSResourceRecord& rr)
   rr.qtype =dzr.dr.d_type;
   rr.content = dzr.dr.d_content->getZoneRepresentation();
   rr.domain_id = dzr.domain_id;
+  rr.auth = dzr.auth;
   //  cout<<"old school called for "<<rr.qname<<", "<<rr.qtype.getName()<<endl;
   return true;
 }