From: Peter van Dijk Date: Mon, 9 Dec 2019 08:54:00 +0000 (+0100) Subject: auth packetcache: sync init order with member order X-Git-Tag: auth-4.3.0-beta1~60^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F8613%2Fhead;p=thirdparty%2Fpdns.git auth packetcache: sync init order with member order --- 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");