]> 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 12:39:16 +0000 (13:39 +0100)
pdns/filterpo.cc

index dbcd59ea5dacff906db86c9de2b870b19ab5b6bf..273cd7cb71888296abc3062a7460a85eb04f6d49 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;