]> 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>
Thu, 30 Apr 2015 22:12:17 +0000 (00:12 +0200)
pdns/packethandler.cc

index c7932c78ab8d2f7a679d1803bbf915dabd865bd3..18dc53f74816a5e939d5f9005c6ae142089ae8cc 100644 (file)
@@ -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=' ';