From 544a7e58b7464d3f8c8373ff7eb62a3f0a1f3856 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 20 May 2016 09:56:25 +0200 Subject: [PATCH] rec: Fix the `noEdnsOutQueries` counter It was incremented for every call to `asyncresolveWrapper()`, then one more time for queries sent without EDNS. --- pdns/syncres.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/pdns/syncres.cc b/pdns/syncres.cc index da0482d492..91e2393998 100644 --- a/pdns/syncres.cc +++ b/pdns/syncres.cc @@ -316,8 +316,6 @@ int SyncRes::asyncresolveWrapper(const ComboAddress& ip, bool ednsMANDATORY, con If '3', send bare queries */ - g_stats.noEdnsOutQueries++; - SyncRes::EDNSStatus* ednsstatus; ednsstatus = &t_sstorage->ednsstatus[ip]; // does this include port? -- 2.47.2