From: bert hubert Date: Mon, 7 Dec 2015 22:04:19 +0000 (+0100) Subject: make sure we insert query size on query ring too X-Git-Tag: dnsdist-1.0.0-alpha1~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f88b55cca8d6922056e3381cd7b487b529afdf2;p=thirdparty%2Fpdns.git make sure we insert query size on query ring too --- diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index a713144baa..87aaf47036 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)) {