From: Chris Hofstaedtler Date: Wed, 3 Aug 2022 19:34:06 +0000 (+0200) Subject: auth: make g_udpReceivers static X-Git-Tag: rec-4.8.0-alpha1~20^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bee7d177b2b6463b2f9348b2357dca08d52e28c2;p=thirdparty%2Fpdns.git auth: make g_udpReceivers static --- diff --git a/pdns/auth-main.cc b/pdns/auth-main.cc index 0124abcda5..755e8691b5 100644 --- a/pdns/auth-main.cc +++ b/pdns/auth-main.cc @@ -126,7 +126,7 @@ shared_ptr N; static double avg_latency{0.0}, receive_latency{0.0}, cache_latency{0.0}, backend_latency{0.0}, send_latency{0.0}; unique_ptr TN; static vector g_distributors; -vector> g_udpReceivers; +static vector> g_udpReceivers; NetmaskGroup g_proxyProtocolACL; size_t g_proxyProtocolMaximumSize; diff --git a/pdns/auth-main.hh b/pdns/auth-main.hh index 8305b18aa3..709bacd741 100644 --- a/pdns/auth-main.hh +++ b/pdns/auth-main.hh @@ -43,7 +43,6 @@ extern AuthQueryCache QC; extern std::unique_ptr DP; extern CommunicatorClass Communicator; extern std::shared_ptr N; -extern vector> g_udpReceivers; extern std::unique_ptr TN; extern void declareArguments(); extern void declareStats();