]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
allow covering NSEC3 record in NODATA response
authorKees Monshouwer <mind04@monshouwer.org>
Fri, 21 Feb 2014 08:52:14 +0000 (09:52 +0100)
committermind04 <mind04@monshouwer.org>
Fri, 21 Feb 2014 22:32:21 +0000 (23:32 +0100)
pdns/packethandler.cc

index a92c2294ca77efe0aab0a5474e3b868b0f334eeb..1bcf2382516f9556f493e3b45c663e87db174be4 100644 (file)
@@ -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=' ';