]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix compilation issue resulting from a conflict between changes in #11293...
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 23 Feb 2022 08:57:50 +0000 (09:57 +0100)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 23 Feb 2022 08:57:50 +0000 (09:57 +0100)
pdns/dnsdistdist/test-dnsdisttcp_cc.cc

index 1e6181dc287eaf5c48d817080e0f787f69ff470d..9457b62e36d06ba9efbd68a6c43652303b36d6ba 100644 (file)
@@ -2859,7 +2859,7 @@ BOOST_AUTO_TEST_CASE(test_IncomingConnectionOOOR_BackendOOOR)
 
     auto proxyEnabledBackend = std::make_shared<DownstreamState>(getBackendAddress("42", 53));
     proxyEnabledBackend->d_tlsCtx = tlsCtx;
-    proxyEnabledBackend->useProxyProtocol = true;
+    proxyEnabledBackend->d_config.useProxyProtocol = true;
 
     GenericDNSPacketWriter<PacketBuffer> pwAXFRQuery(axfrQuery, DNSName("powerdns.com."), QType::AXFR, QClass::IN, 0);
     pwAXFRQuery.getHeader()->rd = 0;