]> granicus.if.org Git - pdns/commitdiff
More debug remove
authorRuben d'Arco <cyclops@prof-x.net>
Fri, 5 Jun 2015 05:11:34 +0000 (07:11 +0200)
committermind04 <mind04@monshouwer.org>
Tue, 30 Jun 2015 06:12:45 +0000 (08:12 +0200)
pdns/dnspacket.cc
pdns/packethandler.cc

index 6ba951c8ead853d030d8b315cb62d34c26e20961..09bfda35e8c0d847776eaa2f61bb07ed046577fd 100644 (file)
@@ -167,13 +167,13 @@ void DNSPacket::addRecord(const DNSResourceRecord &rr)
 {
   // this removes duplicates from the packet in case we are not compressing
   // for AXFR, no such checking is performed!
-  cerr<<"addrecord, content=["<<rr.content<<"]"<<endl;
+  //cerr<<"addrecord, content=["<<rr.content<<"]"<<endl;
   if(d_compress)
     for(vector<DNSResourceRecord>::const_iterator i=d_rrs.begin();i!=d_rrs.end();++i) 
       if(rr.qname==i->qname && rr.qtype==i->qtype && rr.content==i->content) {
           return;
       }
-  cerr<<"added to d_rrs"<<endl;
+  //cerr<<"added to d_rrs"<<endl;
   d_rrs.push_back(rr);
 }
 
index 09781f1702456cc1bbd2fef21b061dc16cba0d7c..8ca5b5d98decb22d76b003d939387daa90999a82 100644 (file)
@@ -1245,7 +1245,7 @@ DNSPacket *PacketHandler::questionOrRecurse(DNSPacket *p, bool *shouldRecurse)
     weDone = weRedirected = weHaveUnauth =  false;
     
     while(B.get(rr)) {
-      cerr<<"got content: ["<<rr.content<<"]"<<endl;
+      //cerr<<"got content: ["<<rr.content<<"]"<<endl;
       if (p->qtype.getCode() == QType::ANY && !p->d_dnssecOk && (rr.qtype.getCode() == QType:: DNSKEY || rr.qtype.getCode() == QType::NSEC3PARAM))
         continue; // Don't send dnssec info to non validating resolvers.
       if (rr.qtype.getCode() == QType::RRSIG) // RRSIGS are added later any way.
@@ -1262,7 +1262,7 @@ DNSPacket *PacketHandler::questionOrRecurse(DNSPacket *p, bool *shouldRecurse)
         weRedirected=1;
 
       if(DP && rr.qtype.getCode() == QType::ALIAS) {
-       haveAlias=DNSName(rr.content);
+        haveAlias=DNSName(rr.content);
       }
 
       // Filter out all SOA's and add them in later