]> granicus.if.org Git - pdns/commitdiff
improve negative caching indication trace log line
authorBert Hubert <bert.hubert@netherlabs.nl>
Wed, 10 Apr 2013 12:35:01 +0000 (12:35 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Wed, 10 Apr 2013 12:35:01 +0000 (12:35 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3154 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/syncres.cc

index 557d859d4e8e096643520ef854f10e99ec4e678b..600fffc3976b75557165fce3ac35a20fe545e900 100644 (file)
@@ -1082,7 +1082,7 @@ int SyncRes::doResolveAt(set<string, CIStringCompare> nameservers, string auth,
         }
         else if(!done && i->d_place==DNSResourceRecord::AUTHORITY && dottedEndsOn(qname,i->qname) && i->qtype.getCode()==QType::SOA && 
            lwr.d_rcode==RCode::NoError) {
-          LOG(prefix<<qname<<": got negative caching indication for '"<< (qname+"|"+i->qtype.getName()+"'") <<endl);
+          LOG(prefix<<qname<<": got negative caching indication for '"<< (qname+"|"+qtype.getName()+"'") <<endl);
           
           if(!newtarget.empty()) {
             LOG(prefix<<qname<<": Hang on! Got a redirect to '"<<newtarget<<"' already"<<endl);