From: bert hubert Date: Wed, 2 Mar 2016 12:03:53 +0000 (+0100) Subject: hook up recursor packet cache dumping to rec_control dump-cache X-Git-Tag: rec-4.0.0-alpha2~26^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F3494%2Fhead;p=thirdparty%2Fpdns.git hook up recursor packet cache dumping to rec_control dump-cache --- diff --git a/pdns/rec_channel_rec.cc b/pdns/rec_channel_rec.cc index 835ca5e5f0..1c85bf4f00 100644 --- a/pdns/rec_channel_rec.cc +++ b/pdns/rec_channel_rec.cc @@ -175,7 +175,7 @@ static uint64_t dumpNegCache(SyncRes::negcache_t& negcache, int fd) static uint64_t* pleaseDump(int fd) { - return new uint64_t(t_RC->doDump(fd) + dumpNegCache(t_sstorage->negcache, fd)); + return new uint64_t(t_RC->doDump(fd) + dumpNegCache(t_sstorage->negcache, fd) + t_packetCache->doDump(fd)); } static uint64_t* pleaseDumpNSSpeeds(int fd)