]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Simpify 'variable' condition: it boils down to having a reply from
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 17 Apr 2020 08:17:09 +0000 (10:17 +0200)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Mon, 20 Apr 2020 13:19:19 +0000 (15:19 +0200)
the auth including an ednsmask, routingTag does not play a role.

pdns/syncres.cc

index 0850b4914b98ba8dd7bef1dfa108a52448313654..46d14e10a0147991c9cfff8e87ecd021055878e6 100644 (file)
@@ -2842,7 +2842,7 @@ RCode::rcodes_ SyncRes::updateCacheFromRecords(unsigned int depth, LWResult& lwr
       }
     }
 
-    if(i->first.place == DNSResourceRecord::ANSWER && (ednsmask || d_routingTag))
+    if(i->first.place == DNSResourceRecord::ANSWER && ednsmask)
       d_wasVariable=true;
   }