From 592d5dbd7f2ebcb8f915e29f858eb4dd0897d67a Mon Sep 17 00:00:00 2001 From: Charles-Henri Bruyand Date: Wed, 6 Oct 2021 11:28:12 +0200 Subject: [PATCH] prevent unnecessary padding --- pdns/dnsdist-cache.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdist-cache.hh b/pdns/dnsdist-cache.hh index f2ae2a45ae..a9462420e6 100644 --- a/pdns/dnsdist-cache.hh +++ b/pdns/dnsdist-cache.hh @@ -123,6 +123,7 @@ private: void insertLocked(CacheShard& shard, std::unordered_map& map, uint32_t key, CacheValue& newValue); std::vector d_shards; + std::unordered_set d_optionsToSkip{EDNSOptionCode::COOKIE}; pdns::stat_t d_deferredLookups{0}; pdns::stat_t d_deferredInserts{0}; @@ -143,5 +144,4 @@ private: bool d_deferrableInsertLock; bool d_parseECS; bool d_keepStaleData{false}; - std::unordered_set d_optionsToSkip{EDNSOptionCode::COOKIE}; }; -- 2.47.2