]> granicus.if.org Git - pdns/commitdiff
pass empty response
authorDmitry Alenichev <mitya@vk.com>
Tue, 29 Jan 2019 16:18:28 +0000 (19:18 +0300)
committerDmitry Alenichev <mitya@vk.com>
Tue, 29 Jan 2019 16:18:28 +0000 (19:18 +0300)
pdns/dnsdist.cc

index 3e0607e6586ebca4203853550d8cd97f72bdf15a..49a0dc27a996d0eb471c7d4a312c6c2ebe10e95d 100644 (file)
@@ -222,7 +222,7 @@ bool responseContentMatches(const char* response, const uint16_t responseLen, co
   }
 
   if (dh->qdcount == 0) {
-    if (dh->rcode != RCode::NoError && dh->rcode != RCode::NXDomain) {
+    if (dh->rcode != RCode::NXDomain) {
       return true;
     }
     else {