]> granicus.if.org Git - pdns/commitdiff
add commented out line for dnsscope to print out all failed/unanswerered queries
authorBert Hubert <bert.hubert@netherlabs.nl>
Thu, 15 Nov 2012 09:33:07 +0000 (09:33 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Thu, 15 Nov 2012 09:33:07 +0000 (09:33 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@2896 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/dnsscope.cc

index 8e56f6092493acc1b5df281c19335f988ef80dc4..218fd36dd9b52026125f67b43188d017f9652a67 100644 (file)
@@ -129,8 +129,10 @@ try
 
   unsigned int unanswered=0;
   for(statmap_t::const_iterator i=statmap.begin(); i!=statmap.end(); ++i) {
-    if(!i->second.d_answercount)
+    if(!i->second.d_answercount) {
       unanswered++;
+      // cout << i->first.d_qname <<" " <<i->first.d_qtype<<endl;
+    }
   }
 
   cerr<<statmap.size()<<" packets went unanswered, of which "<< statmap.size()-unanswered<<" were answered on exact retransmit"<<endl;