Signed-off-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
LockGuarded<std::shared_ptr<NetmaskGroup>> g_initialAllowFrom; // new thread needs to be setup with this
LockGuarded<std::shared_ptr<NetmaskGroup>> g_initialAllowNotifyFrom; // new threads need this to be setup
LockGuarded<std::shared_ptr<notifyset_t>> g_initialAllowNotifyFor; // new threads need this to be setup
-bool g_logRPZChanges{false};
static time_t s_statisticsInterval;
static std::atomic<uint32_t> s_counter;
int g_argc;
#include "query-local-address.hh"
#include "rec-system-resolve.hh"
+bool g_logRPZChanges{false};
+
Netmask makeNetmaskFromRPZ(const DNSName& name)
{
auto parts = name.getRawLabels();
#include <boost/test/unit_test.hpp>
-// Provide stubs for some symbols
-bool g_logRPZChanges{false};
-
BOOST_AUTO_TEST_SUITE(rpzloader_cc)
BOOST_AUTO_TEST_CASE(test_rpz_loader)