From: Kees Monshouwer Date: Fri, 21 Feb 2014 08:52:14 +0000 (+0100) Subject: allow covering NSEC3 record in NODATA response X-Git-Tag: auth-3.3.2~2^2~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8bfa7b7b6e6531efb8e2e424df07263bb16139a;p=thirdparty%2Fpdns.git allow covering NSEC3 record in NODATA response --- diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index c7932c78ab..18dc53f748 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -564,7 +564,7 @@ bool getNSEC3Hashes(bool narrow, DNSBackend* db, int id, const std::string& hash incrementHash(after); } else { - if (decrement || mode ==1) + if (decrement || mode <= 1) before.clear(); else before=' ';