From: bert hubert Date: Mon, 6 Jun 2016 15:52:24 +0000 (+0200) Subject: properly blank out nsec, nsec3 and nsec3param from database X-Git-Tag: rec-4.0.0-rc1~4^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4fb848853182a5f48150ca9f71a97e33875ca49;p=thirdparty%2Fpdns.git properly blank out nsec, nsec3 and nsec3param from database --- diff --git a/pdns/slavecommunicator.cc b/pdns/slavecommunicator.cc index e0a6fa75a4..4e3ffac5ee 100644 --- a/pdns/slavecommunicator.cc +++ b/pdns/slavecommunicator.cc @@ -189,7 +189,7 @@ static bool processRecordForZS(const DNSName& domain, bool& firstNSEC3, DNSResou zs.ns3pr = NSEC3PARAMRecordContent(rr.content); zs.isDnssecZone = zs.isNSEC3 = true; zs.isNarrow = false; - break; + return false; case QType::NSEC3: { NSEC3RecordContent ns3rc(rr.content); if (firstNSEC3) { @@ -202,12 +202,12 @@ static bool processRecordForZS(const DNSName& domain, bool& firstNSEC3, DNSResou DNSName hashPart = DNSName(toLower(rr.qname.makeRelative(domain).toString())); zs.secured.insert(hashPart); } - break; + return false; } case QType::NSEC: zs.isDnssecZone = zs.isPresigned = true; - break; + return false; case QType::NS: if(rr.qname!=domain)