]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
prevent unnecessary padding
authorCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Wed, 6 Oct 2021 09:28:12 +0000 (11:28 +0200)
committerCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Wed, 6 Oct 2021 09:28:12 +0000 (11:28 +0200)
pdns/dnsdist-cache.hh

index f2ae2a45ae7563ac065d817f818d5c70b95dc68c..a9462420e604e4985a2636d9c09768f3cd3ccd10 100644 (file)
@@ -123,6 +123,7 @@ private:
   void insertLocked(CacheShard& shard, std::unordered_map<uint32_t,CacheValue>& map, uint32_t key, CacheValue& newValue);
 
   std::vector<CacheShard> d_shards;
+  std::unordered_set<uint16_t> 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<uint16_t> d_optionsToSkip{EDNSOptionCode::COOKIE};
 };