]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
hook up recursor packet cache dumping to rec_control dump-cache 3494/head
authorbert hubert <bert.hubert@netherlabs.nl>
Wed, 2 Mar 2016 12:03:53 +0000 (13:03 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Wed, 2 Mar 2016 12:03:53 +0000 (13:03 +0100)
pdns/rec_channel_rec.cc

index 835ca5e5f00c7005c12d3c86f10d59ade217b119..1c85bf4f001cfebb6e8914bcfff0d8b8b8ab8532 100644 (file)
@@ -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)