From: Robert Edmonds Date: Sat, 16 Apr 2016 00:34:02 +0000 (-0400) Subject: dnswasher: Fix comment at top of file (RD -> QR) X-Git-Tag: dnsdist-1.0.0~9^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9be880929b2f0b110f6e1c486aa9cddcc7cab910;p=thirdparty%2Fpdns.git dnswasher: Fix comment at top of file (RD -> QR) Only the QR bit (not the RD bit) is consulted when determining which IP address to obfuscate. --- diff --git a/pdns/dnswasher.cc b/pdns/dnswasher.cc index ae8a5f543c..34613708e1 100644 --- a/pdns/dnswasher.cc +++ b/pdns/dnswasher.cc @@ -5,7 +5,7 @@ for analysis. algorithm: -read a packet, check if it has the recursion desired bit set. +read a packet, check if it has the QR bit set. If the question has the response bit set, obfuscate the destination IP address otherwise, obfuscate the response IP address