[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r1568 - trunk/auditor/lib/kasp_auditor

Alex Dalitz alexd at nominet.org.uk
Wed Aug 12 11:41:27 CEST 2009


Author: alex
Date: 2009-08-12 11:41:27 +0200 (Wed, 12 Aug 2009)
New Revision: 1568

Modified:
   trunk/auditor/lib/kasp_auditor/auditor.rb
Log:
Removing redundant SOA warning

Modified: trunk/auditor/lib/kasp_auditor/auditor.rb
===================================================================
--- trunk/auditor/lib/kasp_auditor/auditor.rb	2009-08-12 09:25:16 UTC (rev 1567)
+++ trunk/auditor/lib/kasp_auditor/auditor.rb	2009-08-12 09:41:27 UTC (rev 1568)
@@ -557,6 +557,11 @@
         if (unsigned_domain_rrs  && !unsigned_domain_rrs.delete(l_rr)) # delete the record from the unsigned
           # ADDITIONAL SIGNED RECORD!! Check if we should error on it
           process_additional_signed_rr(l_rr)
+          if (l_rr.type == Types.SOA)
+            unsigned_domain_rrs.each {|u_rr|
+              unsigned_domain_rrs.delete(u_rr) if u_rr.type == Types.SOA
+            }
+          end
         end
         l_rr = get_next_rr(file)
       end




More information about the Opendnssec-commits mailing list