]> granicus.if.org Git - pdns/commitdiff
Initialize PacketCache do_recursion
authorAki Tuomi <cmouse@cmouse.fi>
Sun, 18 Oct 2015 20:39:55 +0000 (23:39 +0300)
committerAki Tuomi <cmouse@desteem.org>
Mon, 26 Oct 2015 10:28:04 +0000 (12:28 +0200)
Fixes CID#1030026

pdns/packetcache.cc

index 73338e068b1d5750998f00a1d01f643c8ad3928e..8cde6b51510a1003eb0f0ed4c177bec3be3f9430 100644 (file)
@@ -50,6 +50,7 @@ PacketCache::PacketCache()
   d_statnumhit=S.getPointer("packetcache-hit");
   d_statnummiss=S.getPointer("packetcache-miss");
   d_statnumentries=S.getPointer("packetcache-size");
+  d_doRecursion=false;
 }
 
 PacketCache::~PacketCache()