From: Kees Monshouwer Date: Sun, 10 Aug 2014 19:23:03 +0000 (+0200) Subject: allow OPT pseudo record type in IXFR query X-Git-Tag: auth-3.4.0-rc2~49^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F1659%2Fhead;p=thirdparty%2Fpdns.git allow OPT pseudo record type in IXFR query --- diff --git a/pdns/tcpreceiver.cc b/pdns/tcpreceiver.cc index d96f541101..b1b687e13d 100644 --- a/pdns/tcpreceiver.cc +++ b/pdns/tcpreceiver.cc @@ -963,8 +963,8 @@ int TCPNameserver::doIXFR(shared_ptr q, int outsock) sendPacket(outpacket,outsock); return 0; } - } else if (rr->d_type != QType::TSIG) { - L<d_type != QType::TSIG && rr->d_type != QType::OPT) { + L<d_type).getName()<setRcode(RCode::FormErr); sendPacket(outpacket,outsock); return 0;