From bee7d177b2b6463b2f9348b2357dca08d52e28c2 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Wed, 3 Aug 2022 21:34:06 +0200 Subject: [PATCH] auth: make g_udpReceivers static --- pdns/auth-main.cc | 2 +- pdns/auth-main.hh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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(); -- 2.47.2