]> granicus.if.org Git - pdns/commitdiff
remove debug leftovers in addNSECX()
authorKees Monshouwer <mind04@monshouwer.org>
Mon, 27 Jul 2015 18:05:46 +0000 (20:05 +0200)
committermind04 <mind04@monshouwer.org>
Mon, 27 Jul 2015 18:07:39 +0000 (20:07 +0200)
pdns/packethandler.cc

index 969eedf3e5eaf929478dea74fb5cc3d12d0f7e56..8ed7779cbb081b9b727be44dd9c1136a94156f63 100644 (file)
@@ -465,15 +465,12 @@ void PacketHandler::addNSECX(DNSPacket *p, DNSPacket *r, const DNSName& target,
     return;
 
   NSEC3PARAMRecordContent ns3rc;
-  // cerr<<"Doing NSEC3PARAM lookup for '"<<auth<<"', "<<p->qdomain.toString()<<"|"<<p->qtype.getName()<<": ";
   bool narrow;
   if(d_dk.getNSEC3PARAM(auth, &ns3rc, &narrow))  {
-    // cerr<<"Present, narrow="<<narrow<<endl;
-    if (mode != 5) // no direct NSEC3 please
+    if (mode != 5) // no direct NSEC3 queries, rfc5155 7.2.8
       addNSEC3(p, r, target, wildcard, auth, ns3rc, narrow, mode);
   }
   else {
-    // cerr<<"Not present"<<endl;
     addNSEC(p, r, target, wildcard, auth, mode);
   }
 }