]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
spelling: from which the query is coming
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 19 Nov 2025 19:13:01 +0000 (14:13 -0500)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Thu, 20 Nov 2025 12:31:10 +0000 (07:31 -0500)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
pdns/recursordist/pdns_recursor.cc
pdns/recursordist/rec-main.hh

index 0761ef4d5a64a98a04fe9e076ebd96d784242d90..279bbb1693903f7c24ad53b4d76bfee0ba958b2c 100644 (file)
@@ -2188,7 +2188,7 @@ bool matchOTConditions(RecEventTrace& eventTrace, const std::unique_ptr<OpenTele
   return true;
 }
 
-// fromaddr: the address the query is coming from
+// fromaddr: the address from which the query is coming
 // destaddr: the address the query was received on
 // source: the address we assume the query is coming from, might be set by proxy protocol
 // destination: the address we assume the query was sent to, might be set by proxy protocol
@@ -2441,7 +2441,7 @@ static string* doProcessUDPQuestion(const std::string& question, const ComboAddr
   comboWriter->setSocket(fileDesc);
   comboWriter->d_tag = ctag;
   comboWriter->d_qhash = qhash;
-  comboWriter->setRemote(fromaddr); // the address the query is coming from
+  comboWriter->setRemote(fromaddr); // the address from which the query is coming
   comboWriter->setSource(source); // the address we assume the query is coming from, might be set by proxy protocol
   comboWriter->setLocal(destaddr); // the address the query was received on
   comboWriter->setDestination(destination); // the address we assume the query is sent to, might be set by proxy protocol
@@ -2483,7 +2483,7 @@ static void handleNewUDPQuestion(int fileDesc, FDMultiplexer::funcparam_t& /* va
   const bool proxyActive = t_proxyProtocolACL && !t_proxyProtocolACL->empty();
   static const size_t maxIncomingQuerySize = !proxyActive ? 512 : (512 + g_proxyProtocolMaximumSize);
   static thread_local std::string data;
-  ComboAddress fromaddr; // the address the query is coming from
+  ComboAddress fromaddr; // the address from which the query is coming
   ComboAddress source; // the address we assume the query is coming from, might be set by proxy protocol
   ComboAddress destination; // the address we assume the query was sent to, might be set by proxy protocol
   struct msghdr msgh{};
index d5361b823481c5d945272e82b871cc0e3a986648..550d3b5de9af0e2f0a19731496b137ae4322cdcb 100644 (file)
@@ -109,7 +109,7 @@ struct DNSComboWriter
   MOADNSParser d_mdp;
   struct timeval d_now;
 
-  ComboAddress d_remote; // the address the query is coming from
+  ComboAddress d_remote; // the address from which the query is coming
   ComboAddress d_source; // the address we assume the query is coming from, might be set by proxy protocol
   ComboAddress d_local; // the address we received the query on
   ComboAddress d_destination; // the address we assume the query is sent to, might be set by proxy protocol