]> granicus.if.org Git - pdns/commitdiff
pdnssc check zone, ignore RRSIGs in presigned zones
authorKees Monshouwer <mind04@monshouwer.org>
Fri, 18 Apr 2014 18:01:15 +0000 (20:01 +0200)
committermind04 <mind04@monshouwer.org>
Fri, 18 Apr 2014 18:01:15 +0000 (20:01 +0200)
pdns/pdnssec.cc

index ee53dddfb9cea513b7020fe5041659316c7cada1..564eb3f2d7ca28713345d269a926b7fd7b3dc14e 100644 (file)
@@ -478,7 +478,7 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const std::string& zone)
       }
     } else {
       if (rr.qtype.getCode() == QType::RRSIG) {
-        if(presigned) {
+        if(!presigned) {
           cout<<"[Error] RRSIG found at '"<<rr.qname<<"' in non-presigned zone. These do not belong in the database."<<endl;
           numerrors++;
           continue;