From: Pieter Lexis Date: Fri, 23 Mar 2018 09:57:47 +0000 (+0100) Subject: rec: update the number of records in the RPZ stats X-Git-Tag: dnsdist-1.3.0~30^2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=03f752a0df9e39c504cf5542331e55a4258bc820;p=thirdparty%2Fpdns.git rec: update the number of records in the RPZ stats --- diff --git a/pdns/rpzloader.cc b/pdns/rpzloader.cc index c29d60089b..0e5bb6e23b 100644 --- a/pdns/rpzloader.cc +++ b/pdns/rpzloader.cc @@ -274,6 +274,7 @@ static void setRPZZoneNewState(const std::string& zone, uint32_t serial, uint64_ } stats.d_lastUpdate = time(nullptr); stats.d_serial = serial; + stats.d_numberOfRecords = numberOfRecords; } void RPZIXFRTracker(const ComboAddress& master, boost::optional defpol, uint32_t maxTTL, size_t zoneIdx, const TSIGTriplet& tt, size_t maxReceivedBytes, const ComboAddress& localAddress, std::shared_ptr zone, const uint16_t axfrTimeout)