]> granicus.if.org Git - pdns/commitdiff
Merge pull request #5836 from mind04/axfr-dnsname
authoraerique <aerique@xs4all.nl>
Mon, 23 Oct 2017 08:25:14 +0000 (10:25 +0200)
committerGitHub <noreply@github.com>
Mon, 23 Oct 2017 08:25:14 +0000 (10:25 +0200)
auth: more DNSName in doAXFR()

1  2 
pdns/tcpreceiver.cc

index 53ff0c1e26e29fc228c166ccecb287bd4a6552cf,8d1f81dfa1517e2451358689a34ac07466bdc3cf..394fa9fb1f9dfecda44c749431ff9179f0094897
@@@ -673,9 -673,9 +673,9 @@@ int TCPNameserver::doAXFR(const DNSNam
    trc.d_mac = outpacket->d_trc.d_mac;
    outpacket = getFreshAXFRPacket(q);
    
 -  ChunkedSigningPipe csp(target, securedZone, "", ::arg().asNum("signing-threads", 1));
 +  ChunkedSigningPipe csp(target, securedZone, ::arg().asNum("signing-threads", 1));
    
-   typedef map<string, NSECXEntry> nsecxrepo_t;
+   typedef map<DNSName, NSECXEntry, CanonDNSNameCompare> nsecxrepo_t;
    nsecxrepo_t nsecxrepo;
    
    // this is where the DNSKEYs go  in