From: Kees Monshouwer Date: Wed, 26 Aug 2015 08:29:14 +0000 (+0200) Subject: log answer packets only if log-dns-details is enabled X-Git-Tag: dnsdist-1.0.0-alpha1~248^2~62^2~8^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2707%2Fhead;p=thirdparty%2Fpdns.git log answer packets only if log-dns-details is enabled --- diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index 744a581492..b84c48ae9b 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -1027,7 +1027,8 @@ DNSPacket *PacketHandler::questionOrRecurse(DNSPacket *p, bool *shouldRecurse) bool noCache=false; if(p->d.qr) { // QR bit from dns packet (thanks RA from N) - L<getRemote()<<", dropping"<getRemote()<<", dropping"<d_remote); return 0;