]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Lookup RPZ Client IP rules before qname ones
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 13 Feb 2020 14:24:42 +0000 (15:24 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Fri, 14 Feb 2020 13:59:43 +0000 (14:59 +0100)
(cherry picked from commit a7e329b836f7ccf4e8cd0c99b5e8aa01865a79f1)

pdns/filterpo.cc

index a653c56258f3c8112c53ac47fc97f9035e085972..a858ca7caf1af980985766384102a74894434c82 100644 (file)
@@ -248,6 +248,7 @@ DNSFilterEngine::Policy DNSFilterEngine::getQueryPolicy(const DNSName& qname, co
       ++count;
       continue;
     }
+
     if (z->findClientPolicy(ca, pol)) {
       // cerr<<"Had a hit on the IP address ("<<ca.toString()<<") of the client"<<endl;
       return pol;