From: Pieter Lexis Date: Mon, 19 Dec 2016 17:20:47 +0000 (+0100) Subject: Unconfuse the RPZ summary X-Git-Tag: rec-4.0.5-rc1~15^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b627731ac1a1adaaa3ae11123cc2744877169695;p=pdns Unconfuse the RPZ summary Closes #4342 (cherry picked from commit 00febe394033d2ea53ecbcf135ac94de6ba4be08) --- diff --git a/pdns/reczones.cc b/pdns/reczones.cc index 21021e185..5e6afc04d 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<