]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
rec: Fix a typo in one of the comment, reported by Habbie (thx!)
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 28 Feb 2020 14:24:19 +0000 (15:24 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 17 Mar 2020 13:12:55 +0000 (14:12 +0100)
pdns/pdns_recursor.cc

index 596fd5e25ee8bcfe47c80529ee0bc14aaf92f1c9..cef83b0ceaf3b8a30c78f147d18ce929da0444c4 100644 (file)
@@ -2047,7 +2047,7 @@ static void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var)
     else {
       /* proxy header received */
       /* we ignore the TCP field for now, but we could properly set whether
-         the connection was received over UDP or TCP if neede */
+         the connection was received over UDP or TCP if needed */
       bool tcp;
       bool proxy = false;
       size_t used = parseProxyHeader(conn->data, proxy, conn->d_source, conn->d_destination, tcp, conn->proxyProtocolValues);