From: bert hubert Date: Thu, 26 Nov 2015 19:30:45 +0000 (+0100) Subject: some more simpe ones X-Git-Tag: dnsdist-1.0.0-alpha1~176^2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e83371bb88753862929c836ed692aa4a474e19ba;p=pdns some more simpe ones --- diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index 86f46bf52..a6a667af4 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -816,7 +816,7 @@ int TCPNameserver::doAXFR(const DNSName &target, shared_ptr q, int ou DTime dt; dt.set(); int records=0; - BOOST_FOREACH(DNSResourceRecord &rr, rrs) { + for(DNSResourceRecord &rr : rrs) { if (rr.qtype.getCode() == QType::RRSIG) { RRSIGRecordContent rrc(rr.content); if(presignedZone && rrc.d_type == QType::NSEC3)