From: Kees Monshouwer Date: Thu, 23 Feb 2017 23:37:05 +0000 (+0100) Subject: minor cleanup in the afxr-rectify code X-Git-Tag: rec-4.1.0-alpha1~115^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f70b77ace3cb0d4654ceccbdfcb5470adad853b;p=thirdparty%2Fpdns.git minor cleanup in the afxr-rectify code --- diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index eb00628f79..c873499c2b 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -804,7 +804,6 @@ int TCPNameserver::doAXFR(const DNSName &target, shared_ptr q, int ou } else { if (zrr.dr.d_type) L< q, int ou do { if (shorter==target) // apex is always auth continue; - if(nsset.count(shorter) && !(zrr.dr.d_name==shorter && zrr.dr.d_type == QType::DS)) + if(nsset.count(shorter) && !(zrr.dr.d_name==shorter && zrr.dr.d_type == QType::DS)) { zrr.auth=false; + continue; + } } while(shorter.chopOff()); - } else - continue; + } } if(NSEC3Zone) {