]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Fix the `noEdnsOutQueries` counter 3881/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 20 May 2016 07:56:25 +0000 (09:56 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 20 May 2016 07:56:25 +0000 (09:56 +0200)
It was incremented for every call to `asyncresolveWrapper()`, then
one more time for queries sent without EDNS.

pdns/syncres.cc

index da0482d492aefccdfa19831892767d8f7c52b05c..91e2393998325d59a071998040f9b8981dfbe241 100644 (file)
@@ -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?