From 2f88b55cca8d6922056e3381cd7b487b529afdf2 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Mon, 7 Dec 2015 23:04:19 +0100 Subject: [PATCH] make sure we insert query size on query ring too --- pdns/dnsdist.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index a713144ba..87aaf4703 100644 --- a/pdns/dnsdist.cc +++ b/pdns/dnsdist.cc @@ -516,7 +516,7 @@ try clock_gettime(CLOCK_MONOTONIC, &now); { WriteLock wl(&g_rings.queryLock); - g_rings.queryRing.push_back({now,remote,qname,qtype}); + g_rings.queryRing.push_back({now,remote,qname,(uint16_t)len,qtype}); } if(auto got=localDynBlock->lookup(remote)) { -- 2.40.0