From: Otto Date: Tue, 8 Jun 2021 08:35:40 +0000 (+0200) Subject: Finish rebase X-Git-Tag: dnsdist-1.7.0-alpha1~116^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a63bf6965d3be4798984ae56f1d367f2ef1fd10;p=thirdparty%2Fpdns.git Finish rebase --- diff --git a/pdns/histogram.hh b/pdns/histogram.hh index f3c34fe57c..0e04944f12 100644 --- a/pdns/histogram.hh +++ b/pdns/histogram.hh @@ -57,8 +57,8 @@ template class BaseHistogram { public: - - BaseHistogram(const std::string& prefix, const std::vector& boundaries) : d_name(prefix) + BaseHistogram(const std::string& prefix, const std::vector& boundaries) : + d_name(prefix) { if (!std::is_sorted(boundaries.cbegin(), boundaries.cend())) { throw std::invalid_argument("boundary array must be sorted"); @@ -144,7 +144,6 @@ private: std::vector d_buckets; std::string d_name; - std::vector to125(uint64_t start, int num) { std::vector boundaries; diff --git a/pdns/rec_channel_rec.cc b/pdns/rec_channel_rec.cc index 35a3dcc786..fb3f3bd7c8 100644 --- a/pdns/rec_channel_rec.cc +++ b/pdns/rec_channel_rec.cc @@ -211,7 +211,7 @@ StatsMap getAllStatsMap(StatComponent component) } for(const auto& themultimember : d_getmultimembers) { - if (blacklistMap.count(themultimember.first) == 0) { + if (disabledlistMap.count(themultimember.first) == 0) { ret.merge(themultimember.second()); } }