From: Pieter Lexis Date: Tue, 27 Feb 2018 14:19:56 +0000 (+0100) Subject: auth: lower 'packet too short' loglevel X-Git-Tag: auth-4.1.2~2^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd4af9cbcc45c37fabca0c7acbe61d54ab5516ec;p=pdns auth: lower 'packet too short' loglevel It might be a pretty common error if there is a bad recursor or client, leading to potential a logging overdose. (cherry picked from commit 221081f4a6912ed7a6d67a1e2c26524fe8f63513) --- diff --git a/pdns/dnspacket.cc b/pdns/dnspacket.cc index e03f7fad9..7e318f8db 100644 --- a/pdns/dnspacket.cc +++ b/pdns/dnspacket.cc @@ -442,7 +442,7 @@ int DNSPacket::noparse(const char *mesg, size_t length) { d_rawpacket.assign(mesg,length); if(length < 12) { - L << Logger::Warning << "Ignoring packet: too short ("<