]> granicus.if.org Git - pdns/commitdiff
make LDAP backend compile again. Note: it may have been broken already. It uses the...
authorbert hubert <bert.hubert@powerdns.com>
Thu, 5 Nov 2015 13:40:51 +0000 (14:40 +0100)
committerbert hubert <bert.hubert@powerdns.com>
Thu, 5 Nov 2015 13:40:51 +0000 (14:40 +0100)
modules/ldapbackend/ldapbackend.cc

index 9032d5e6c4d397cf101e8dd397200a42c81ec819..8e01a5ff1bf29e7221a0827b7182539234b9d07f 100644 (file)
@@ -93,7 +93,7 @@ bool LdapBackend::list( const DNSName& target, int domain_id, bool include_disab
         try
         {
                m_qname = target;
-               m_axfrqlen = target.length();
+               m_axfrqlen = target.toStringNoDot().length();
                m_adomain = m_adomains.end();   // skip loops in get() first time
 
                return (this->*m_list_fcnt)( target, domain_id );