From 5ea9e56066f8ea060145fea74f98c1715a9120c3 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Mon, 9 Dec 2019 09:54:00 +0100 Subject: [PATCH] auth packetcache: sync init order with member order --- pdns/auth-packetcache.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/auth-packetcache.cc b/pdns/auth-packetcache.cc index c38599dece..48b937acf3 100644 --- a/pdns/auth-packetcache.cc +++ b/pdns/auth-packetcache.cc @@ -30,7 +30,7 @@ extern StatBag S; const unsigned int AuthPacketCache::s_mincleaninterval, AuthPacketCache::s_maxcleaninterval; -AuthPacketCache::AuthPacketCache(size_t mapsCount): d_lastclean(time(nullptr)), d_maps(mapsCount) +AuthPacketCache::AuthPacketCache(size_t mapsCount): d_maps(mapsCount), d_lastclean(time(nullptr)) { S.declare("packetcache-hit", "Number of hits on the packet cache"); S.declare("packetcache-miss", "Number of misses on the packet cache"); -- 2.47.2