From: Pieter Lexis Date: Tue, 28 Jun 2016 09:51:58 +0000 (+0200) Subject: use DNSName.toLogString() in the rfc2136handler X-Git-Tag: rec-4.0.0~22^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc721f52c34b3a13705a11bc34c5b2c6fa9677ea;p=thirdparty%2Fpdns.git use DNSName.toLogString() in the rfc2136handler --- diff --git a/pdns/rfc2136handler.cc b/pdns/rfc2136handler.cc index 873bc8149b..aca057da71 100644 --- a/pdns/rfc2136handler.cc +++ b/pdns/rfc2136handler.cc @@ -670,7 +670,7 @@ int PacketHandler::processUpdate(DNSPacket *p) { if (! ::arg().mustDo("dnsupdate")) return RCode::Refused; - string msgPrefix="UPDATE (" + itoa(p->d.id) + ") from " + p->getRemote() + " for " + p->qdomain.toString() + ": "; + string msgPrefix="UPDATE (" + itoa(p->d.id) + ") from " + p->getRemote() + " for " + p->qdomain.toLogString() + ": "; L<zone, soaEditSetting); if (soaEditSetting.empty()) { - L<zone.toString() <<"\". Using DEFAULT for SOA-EDIT-DNSUPDATE"<zone <<"\". Using DEFAULT for SOA-EDIT-DNSUPDATE"<