From 0b71b874ceb1ee75e00ab3eabbea7a59cdaeaa92 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Fri, 10 Jun 2016 19:56:03 +0200 Subject: [PATCH] make webserver list suffixnodetree blocks as well --- pdns/dnsdist-web.cc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/pdns/dnsdist-web.cc b/pdns/dnsdist-web.cc index 7c051f8df..199a40320 100644 --- a/pdns/dnsdist-web.cc +++ b/pdns/dnsdist-web.cc @@ -185,6 +185,22 @@ static void connectionThread(int sock, ComboAddress remote, string password, str obj.insert({e->first.toString(), thing}); } } + + auto slow2 = g_dynblockSMT.getCopy(); + slow2.visit([&now,&obj](const SuffixMatchTree& node) { + if(now