[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r4136 - trunk/OpenDNSSEC/signer/src/signer

Matthijs Mekking matthijs at nlnetlabs.nl
Mon Oct 25 14:13:35 CEST 2010


Author: matthijs
Date: 2010-10-25 14:13:35 +0200 (Mon, 25 Oct 2010)
New Revision: 4136

Modified:
   trunk/OpenDNSSEC/signer/src/signer/domain.c
Log:
occluded data at zone cut bugfix



Modified: trunk/OpenDNSSEC/signer/src/signer/domain.c
===================================================================
--- trunk/OpenDNSSEC/signer/src/signer/domain.c	2010-10-25 10:09:42 UTC (rev 4135)
+++ trunk/OpenDNSSEC/signer/src/signer/domain.c	2010-10-25 12:13:35 UTC (rev 4136)
@@ -399,12 +399,16 @@
                 rrset->rr_type != LDNS_RR_TYPE_AAAA &&
                 rrset_count_RR(rrset) > 0) {
                 /* found occluded data next to delegation */
+                se_log_error("occluded glue data at zonecut, RRtype=%u",
+                    rrset->rr_type);
                 return 1;
             } else if (rrset->rr_type == LDNS_RR_TYPE_A ||
                 rrset->rr_type == LDNS_RR_TYPE_AAAA) {
                 /* check if glue is allowed at the delegation */
                 if (rrset_count_RR(rrset) > 0 &&
-                    rrset_examine_ns_rdata(rrset, domain->name) != 0) {
+                    domain_examine_ns_rdata(domain, domain->name) != 0) {
+                    se_log_error("occluded glue data at zonecut, #RR=%u",
+                        rrset_count_RR(rrset));
                     return 1;
                 }
             }




More information about the Opendnssec-commits mailing list