From: Pieter Lexis Date: Tue, 28 Jun 2016 09:23:07 +0000 (+0200) Subject: Replace DNSName.toString() in dnsreplay X-Git-Tag: rec-4.0.0~22^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f2ebc5df291f3d37ca3c3ac12cf2bd4f592f5ce;p=thirdparty%2Fpdns.git Replace DNSName.toString() in dnsreplay --- diff --git a/pdns/dnsreplay.cc b/pdns/dnsreplay.cc index f51a0c40f9..aead489a33 100644 --- a/pdns/dnsreplay.cc +++ b/pdns/dnsreplay.cc @@ -362,17 +362,17 @@ void measureResultAndClean(qids_t::const_iterator iter) s_origbetter++; if(!g_quiet) if(s_origbetterset.insert(make_pair(qd.d_qi.d_qname, qd.d_qi.d_qtype)).second) { - cout<<"orig better: " << qd.d_qi.d_qname.toString()<<" "<< qd.d_qi.d_qtype<::const_iterator i=canonicOrig.begin(); i!=canonicOrig.end(); ++i) - cout<<"\t"<d_name.toString()<<"\t"<d_type)<<"\t'" << (i->d_content ? i->d_content->getZoneRepresentation() : "") <<"'\n"; + cout<<"\t"<d_name<<"\t"<d_type)<<"\t'" << (i->d_content ? i->d_content->getZoneRepresentation() : "") <<"'\n"; cout<<"new: rcode="<::const_iterator i=canonicNew.begin(); i!=canonicNew.end(); ++i) - cout<<"\t"<d_name.toString()<<"\t"<d_type)<<"\t'" << (i->d_content ? i->d_content->getZoneRepresentation() : "") <<"'\n"; + cout<<"\t"<d_name<<"\t"<d_type)<<"\t'" << (i->d_content ? i->d_content->getZoneRepresentation() : "") <<"'\n"; cout<<"\n"; cout<<"-\n"; @@ -411,7 +411,7 @@ try qids_by_id_index_t::const_iterator found=idindex.find(ntohs(mdp.d_header.id)); if(found == idindex.end()) { if(!g_quiet) - cout<<"Received an answer ("<