From: Fred Morcos Date: Fri, 17 Nov 2023 11:54:50 +0000 (+0100) Subject: Cleanup dnsscope.cc #ifdef X-Git-Tag: rec-5.0.0-rc1~23^2~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2fd685b18a2159e38e320e0c85422cb29975303f;p=thirdparty%2Fpdns.git Cleanup dnsscope.cc #ifdef --- diff --git a/pdns/dnsscope.cc b/pdns/dnsscope.cc index 6922869a9b..9322c392bf 100644 --- a/pdns/dnsscope.cc +++ b/pdns/dnsscope.cc @@ -23,7 +23,7 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif -#if HAVE_BOOST_GE_148 +#ifdef HAVE_BOOST_GE_148 #include "histog.hh" #endif @@ -139,7 +139,7 @@ try ("rd", po::value(), "If set to true, only process RD packets, to false only non-RD, unset: both") ("ipv4", po::value()->default_value(true), "Process IPv4 packets") ("ipv6", po::value()->default_value(true), "Process IPv6 packets") -#if HAVE_BOOST_GE_148 +#ifdef HAVE_BOOST_GE_148 ("log-histogram", "Write a log-histogram to file 'log-histogram'") ("full-histogram", po::value(), "Write a log-histogram to file 'full-histogram' with this millisecond bin size") #endif @@ -472,7 +472,7 @@ try cout.precision(4); sum=0; -#if HAVE_BOOST_GE_148 +#ifdef HAVE_BOOST_GE_148 if(g_vm.count("log-histogram")) { string fname = g_vm["stats-dir"].as()+"/log-histogram"; ofstream loglog(fname);