]> granicus.if.org Git - pdns/commitdiff
patch by Derrik Pates that fixes fancy records
authorBert Hubert <bert.hubert@netherlabs.nl>
Sat, 19 Aug 2006 12:32:32 +0000 (12:32 +0000)
committerBert Hubert <bert.hubert@netherlabs.nl>
Sat, 19 Aug 2006 12:32:32 +0000 (12:32 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@884 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/packethandler.cc

index 63d859b016a5ebd6ef846242d54d546e21747541..45a07a8922e77a02dec7fd51b61ea75ebc60943a 100644 (file)
@@ -651,7 +651,7 @@ DNSPacket *PacketHandler::question(DNSPacket *p)
       }
     }
 
-    if(mret > 0
+    if(mret == 1
       goto sendit; // this might be the end of it (client requested a CNAME, or we found the answer already)