From: Bert Hubert Date: Wed, 12 Jan 2011 16:35:31 +0000 (+0000) Subject: oops, put the NSEC3NARROW item in the NSEC3PARAM cache X-Git-Tag: auth-3.0~369 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=78bbf442ae16620c343536ce879172d995639748;p=pdns oops, put the NSEC3NARROW item in the NSEC3PARAM cache git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@1878 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/dbdnsseckeeper.cc b/pdns/dbdnsseckeeper.cc index 2e5fca8fe..92491da5d 100644 --- a/pdns/dbdnsseckeeper.cc +++ b/pdns/dbdnsseckeeper.cc @@ -179,7 +179,7 @@ bool DNSSECKeeper::getNSEC3PARAM(const std::string& zname, NSEC3PARAMRecordConte } if(ns3p) { - string descr = *meta.begin(); + string descr = nce.d_nsec3param; reportAllTypes(); NSEC3PARAMRecordContent* tmp=dynamic_cast(DNSRecordContent::mastermake(QType::NSEC3PARAM, 1, descr)); if(!tmp) { diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index 2f493be16..1d67e2818 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -411,8 +411,6 @@ int TCPNameserver::doAXFR(const string &target, shared_ptr q, int out return 0; } - - L<getRemote()<(q->replyPacket());