From 3610f213f321a0709bf9d771aadf2a9aba9990c8 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Wed, 2 Mar 2016 13:03:53 +0100 Subject: [PATCH] hook up recursor packet cache dumping to rec_control dump-cache --- pdns/rec_channel_rec.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.47.2