]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
allow TSIG as extra record in an IXFR request
authorKees Monshouwer <mind04@monshouwer.org>
Tue, 22 Jul 2014 18:59:21 +0000 (20:59 +0200)
committermind04 <mind04@monshouwer.org>
Tue, 22 Jul 2014 20:22:45 +0000 (22:22 +0200)
pdns/tcpreceiver.cc

index e6fa4b77c7eca0b2273eb3a7ea4ce6a2e2d97ec1..9ad38f66b5689cf80de2b36afa29c84d72a0bf14 100644 (file)
@@ -963,7 +963,7 @@ int TCPNameserver::doIXFR(shared_ptr<DNSPacket> q, int outsock)
         sendPacket(outpacket,outsock);
         return 0;
       }
-    } else {
+    } else if (rr->d_type != QType::TSIG) {
       L<<Logger::Error<<"Additional records in IXFR query"<<endl;
       outpacket->setRcode(RCode::FormErr);
       sendPacket(outpacket,outsock);