]> granicus.if.org Git - pdns/commitdiff
versionpdns != versionbind
authorbert hubert <bert.hubert@netherlabs.nl>
Thu, 11 Feb 2016 10:13:11 +0000 (11:13 +0100)
committerbert hubert <bert.hubert@netherlabs.nl>
Thu, 11 Feb 2016 10:13:11 +0000 (11:13 +0100)
pdns/packethandler.cc

index 0bf08857c9b84813296ee23763aaa223145969a8..7759b1659d7b688584f6f06d974f02fcc775ed63 100644 (file)
@@ -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"];