]> granicus.if.org Git - pdns/commitdiff
oops, put the NSEC3NARROW item in the NSEC3PARAM cache
authorBert Hubert <bert.hubert@netherlabs.nl>
Wed, 12 Jan 2011 16:35:31 +0000 (16:35 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Wed, 12 Jan 2011 16:35:31 +0000 (16:35 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1878 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/dbdnsseckeeper.cc
pdns/tcpreceiver.cc

index 2e5fca8fe2b272f77b5c9d15d0a1c520a01891bb..92491da5d2fca23f631e312a2d488c22bd0efca9 100644 (file)
@@ -179,7 +179,7 @@ bool DNSSECKeeper::getNSEC3PARAM(const std::string& zname, NSEC3PARAMRecordConte
   }
   
   if(ns3p) {
-    string descr = *meta.begin();
+    string descr = nce.d_nsec3param;
     reportAllTypes();
     NSEC3PARAMRecordContent* tmp=dynamic_cast<NSEC3PARAMRecordContent*>(DNSRecordContent::mastermake(QType::NSEC3PARAM, 1, descr));
     if(!tmp) {
index 2f493be1696c69baee0f610ed7c68b8836654ac3..1d67e281877ae15581693f3d253fa2ddf6188a04 100644 (file)
@@ -411,8 +411,6 @@ int TCPNameserver::doAXFR(const string &target, shared_ptr<DNSPacket> q, int out
     return 0;
   }
   
-  
-  
   L<<Logger::Error<<"AXFR of domain '"<<target<<"' initiated by "<<q->getRemote()<<endl;
   outpacket=shared_ptr<DNSPacket>(q->replyPacket());