]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
make dnsscope match the description on gist
authorbert hubert <bert.hubert@netherlabs.nl>
Thu, 26 Jun 2014 11:19:07 +0000 (13:19 +0200)
committerbert hubert <bert.hubert@netherlabs.nl>
Thu, 26 Jun 2014 11:19:07 +0000 (13:19 +0200)
pdns/dnsscope.cc

index 4a6ed57cf48c52811ab4c7280fb30dad0a0eeff1..423a7f9072138333d5f3ed10ea012ac5f592f5ba 100644 (file)
@@ -187,7 +187,7 @@ void visitor(const StatNode* node, const StatNode::Stat& selfstat, const StatNod
   if(1.0*childstat.servfails / (childstat.servfails+childstat.noerrors) > 0.8 && node->children.size()>100) {
     cout<<node->fullname<<", servfails: "<<childstat.servfails<<", remotes: "<<childstat.remotes.size()<<", children: "<<node->children.size()<<endl;
     BOOST_FOREACH(const StatNode::Stat::remotes_t::value_type& rem, childstat.remotes) {
-      cout<<node->fullname<<" "<<rem.first.toString()<<"\t"<<rem.second<<endl;
+      cout<<"source: "<<node->fullname<<"\t"<<rem.first.toString()<<"\t"<<rem.second<<endl;
     }
   }
 }