]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Do not use ref 9411/head
authorOtto Moerbeek <otto@drijf.net>
Tue, 25 Aug 2020 07:43:15 +0000 (09:43 +0200)
committerGitHub <noreply@github.com>
Tue, 25 Aug 2020 07:43:15 +0000 (09:43 +0200)
Co-authored-by: Remi Gacogne <rgacogne+github@valombre.net>
pdns/pdns_recursor.cc

index 9469dc91ef49787b6ac23e6665cacf10061878a5..1c4717b7620b6bc38d877b8721ef0d6a8be16184 100644 (file)
@@ -2855,7 +2855,7 @@ static void handleNewUDPQuestion(int fd, FDMultiplexer::funcparam_t& var)
           }
 
           if(g_weDistributeQueries) {
-            const std::string& localdata = data;
+            std::string localdata = data;
             distributeAsyncFunction(data, [localdata, fromaddr, dest, source, destination, tv, fd, proxyProtocolValues]() mutable
               { return doProcessUDPQuestion(localdata, fromaddr, dest, source, destination, tv, fd, proxyProtocolValues); });
           }