]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dump recursor cache in sequential ordering, which allows us to debug our deletion...
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 2 Mar 2016 11:59:37 +0000 (12:59 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 2 Mar 2016 11:59:37 +0000 (12:59 +0100)
pdns/recursor_cache.cc

index aa511dfd05a40ee5a29ccffabc95228f02e23821..08b6f61ed4d3d210779efa9626e91a2bdf08a504 100644 (file)
@@ -279,7 +279,7 @@ uint64_t MemRecursorCache::doDump(int fd)
     return 0;
   }
   fprintf(fp, "; main record cache dump from thread follows\n;\n");
-  auto& sidx=d_cache.get<0>();
+  const auto& sidx=d_cache.get<1>();
 
   uint64_t count=0;
   time_t now=time(0);