]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update ldapbackend.cc 5340/head
authorshantikulkarni <sk-public@revenant.org>
Wed, 24 May 2017 02:25:48 +0000 (21:25 -0500)
committerGitHub <noreply@github.com>
Wed, 24 May 2017 02:25:48 +0000 (21:25 -0500)
modules/ldapbackend/ldapbackend.cc

index 70d5671ca9c19a5a6e84dcba9ecd3b977cb9df6c..52a4bd454b5a3dce9caadec3f47df4e0becb8a84 100644 (file)
@@ -220,7 +220,7 @@ inline bool LdapBackend::list_simple( const DNSName& target, int domain_id )
 
 inline bool LdapBackend::list_strict( const DNSName& target, int domain_id )
 {
-  if( target.isPartOf(DNSName("in-addr.arpa")) || target.isPartOf(DNSName(".ip6.arpa")) )
+  if( target.isPartOf(DNSName("in-addr.arpa")) || target.isPartOf(DNSName("ip6.arpa")) )
   {
     L << Logger::Warning << m_myname << " Request for reverse zone AXFR, but this is not supported in strict mode" << endl;
     return false;   // AXFR isn't supported in strict mode. Use simple mode and additional PTR records