From: Remi Gacogne Date: Tue, 14 Oct 2025 13:31:15 +0000 (+0200) Subject: dnsdist: Apply the new ECS/zero-scope YAML configuration to pools X-Git-Tag: rec-5.4.0-alpha1~191^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a97d5fd94baadf12302776745ce81242b3e5b13;p=thirdparty%2Fpdns.git dnsdist: Apply the new ECS/zero-scope YAML configuration to pools Signed-off-by: Remi Gacogne --- diff --git a/pdns/dnsdistdist/dnsdist-configuration-yaml.cc b/pdns/dnsdistdist/dnsdist-configuration-yaml.cc index 013854e430..e95a4454a7 100644 --- a/pdns/dnsdistdist/dnsdist-configuration-yaml.cc +++ b/pdns/dnsdistdist/dnsdist-configuration-yaml.cc @@ -1227,6 +1227,8 @@ bool loadConfigurationFromFile(const std::string& fileName, [[maybe_unused]] boo if (!pool.policy.empty()) { poolIt->second.policy = getRegisteredTypeByName(pool.policy); } + poolIt->second.setECS(pool.use_ecs); + poolIt->second.setZeroScope(pool.use_zero_scope); }); }