From 9f70b77ace3cb0d4654ceccbdfcb5470adad853b Mon Sep 17 00:00:00 2001 From: Kees Monshouwer Date: Fri, 24 Feb 2017 00:37:05 +0100 Subject: [PATCH] minor cleanup in the afxr-rectify code --- pdns/tcpreceiver.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) { -- 2.47.2