From: bert hubert Date: Thu, 11 Feb 2016 10:13:11 +0000 (+0100) Subject: versionpdns != versionbind X-Git-Tag: auth-4.0.0-alpha2~68 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00582c16aaaa829160aaeb200f762d589a096492;p=thirdparty%2Fpdns.git versionpdns != versionbind --- diff --git a/pdns/packethandler.cc b/pdns/packethandler.cc index 0bf08857c9..7759b1659d 100644 --- a/pdns/packethandler.cc +++ b/pdns/packethandler.cc @@ -290,7 +290,7 @@ int PacketHandler::doChaosRequest(DNSPacket *p, DNSPacket *r, DNSName &target) if(p->qtype.getCode()==QType::TXT) { static const DNSName versionbind("version.bind."), versionpdns("version.pdns."), idserver("id.server."); - if (target==versionbind || target==versionbind) { + if (target==versionbind || target==versionpdns) { // modes: full, powerdns only, anonymous or custom const static string mode=::arg()["version-string"];