From: bert hubert Date: Wed, 2 Mar 2016 11:59:37 +0000 (+0100) Subject: dump recursor cache in sequential ordering, which allows us to debug our deletion... X-Git-Tag: rec-4.0.0-alpha2~26^2~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d23f82f73157f2dbdd3ead21986433c3c4a35d14;p=thirdparty%2Fpdns.git dump recursor cache in sequential ordering, which allows us to debug our deletion queue --- diff --git a/pdns/recursor_cache.cc b/pdns/recursor_cache.cc index aa511dfd05..08b6f61ed4 100644 --- a/pdns/recursor_cache.cc +++ b/pdns/recursor_cache.cc @@ -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);