From 00febe394033d2ea53ecbcf135ac94de6ba4be08 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Mon, 19 Dec 2016 18:20:47 +0100 Subject: [PATCH] Unconfuse the RPZ summary Closes #4342 --- pdns/reczones.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdns/reczones.cc b/pdns/reczones.cc index ad165c4366..99eae9c6cd 100644 --- a/pdns/reczones.cc +++ b/pdns/reczones.cc @@ -349,7 +349,6 @@ void RPZIXFRTracker(const ComboAddress& master, const DNSName& zone, boost::opti for(const auto& rr : remove) { // should always contain the SOA if(rr.d_type == QType::NS) continue; - totremove++; if(rr.d_type == QType::SOA) { auto oldsr = getRR(rr); if(oldsr && oldsr->d_st.serial == oursr->d_st.serial) { @@ -359,6 +358,7 @@ void RPZIXFRTracker(const ComboAddress& master, const DNSName& zone, boost::opti L<(rr); // L<d_st.serial<