]> granicus.if.org Git - pdns/commitdiff
deal with unset name in nproxy replies, closes #3844
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 13 May 2016 11:30:54 +0000 (13:30 +0200)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Fri, 13 May 2016 11:49:07 +0000 (13:49 +0200)
pdns/dnsproxy.cc

index 41288038bf7ef5d4e9b5ab51f27ac6bd3bc6b3dc..bd1d5f6dcf021b2faf8ddd81d845fd07beb8a681 100644 (file)
@@ -234,7 +234,7 @@ void DNSProxy::mainloop(void)
 
         if(p.qtype.getCode() != i->second.qtype || p.qdomain != i->second.qname) {
           L<<Logger::Error<<"Discarding packet from recursor backend with id "<<(d.id^d_xor)<<
-            ", qname or qtype mismatch ("<<p.qtype.getCode()<<" v " <<i->second.qtype<<", "<<p.qdomain<<" v "<<i->second.qname<<")"<<endl;
+            ", qname or qtype mismatch ("<<p.qtype.getCode()<<" v " <<i->second.qtype<<", "<<p.qdomain.toLogString()<<" v "<<i->second.qname.toLogString()<<")"<<endl;
           continue;
         }