From: Kees Monshouwer Date: Fri, 21 Feb 2014 08:52:14 +0000 (+0100) Subject: allow covering NSEC3 record in NODATA response X-Git-Tag: rec-3.6.0-rc1~169^2~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f5fd462d8ee3a4a54b87be4b23eb88d47b57c5f;p=thirdparty%2Fpdns.git allow covering NSEC3 record in NODATA response --- diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index a92c2294ca..1bcf238251 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -575,7 +575,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=' ';