]> granicus.if.org Git - pdns/commitdiff
remove code instead of adding code, thanks @mind04
authorPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 22 Feb 2018 11:09:42 +0000 (12:09 +0100)
committerPeter van Dijk <peter.van.dijk@powerdns.com>
Thu, 22 Feb 2018 11:09:42 +0000 (12:09 +0100)
pdns/pdnsutil.cc

index f8d93fe3e568845faf297cba9b90d75c49ecc7f5..e6806ed1af47f74687a9767b719a71195343607a 100644 (file)
@@ -299,13 +299,13 @@ int checkZone(DNSSECKeeper &dk, UeberBackend &B, const DNSName& zone, const vect
     records=*suppliedrecords;
 
   for(auto rr : records) { // we modify this
-    if(!rr.qtype.getCode()) {
-      if(rr.content.length()) {
-        cout<<"[Error] ENT (or unknown type) has content: "<<rr.qname<<" IN " <<rr.qtype.getName()<< " '" << rr.content<<"'"<<endl;
-        numerrors++;
-      }
-      continue;
-    }
+    // if(!rr.qtype.getCode()) {
+    //   if(rr.content.length()) {
+    //     cout<<"[Error] ENT (or unknown type) has content: "<<rr.qname<<" IN " <<rr.qtype.getName()<< " '" << rr.content<<"'"<<endl;
+    //     numerrors++;
+    //   }
+    //   continue;
+    // }
 
     numrecords++;