From: Aki Tuomi Date: Sun, 18 Oct 2015 20:39:55 +0000 (+0300) Subject: Initialize PacketCache do_recursion X-Git-Tag: dnsdist-1.0.0-alpha1~230^2~27^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dfd3b4279e96134b9c8a4ccf484a54097902aaca;p=pdns Initialize PacketCache do_recursion Fixes CID#1030026 --- diff --git a/pdns/packetcache.cc b/pdns/packetcache.cc index 73338e068..8cde6b515 100644 --- a/pdns/packetcache.cc +++ b/pdns/packetcache.cc @@ -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()