From: Remi Gacogne Date: Thu, 24 Jul 2025 09:17:04 +0000 (+0200) Subject: dnsdist: Apply Miod's suggestions (thanks!) X-Git-Tag: auth-5.1.0-alpha0~20^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b6b96bdd38d6ef380140aa95702d9ab7e706b67;p=thirdparty%2Fpdns.git dnsdist: Apply Miod's suggestions (thanks!) Signed-off-by: Remi Gacogne --- diff --git a/pdns/dnsdistdist/dnsdist-configuration-yaml.cc b/pdns/dnsdistdist/dnsdist-configuration-yaml.cc index 70731bc42..998ee796d 100644 --- a/pdns/dnsdistdist/dnsdist-configuration-yaml.cc +++ b/pdns/dnsdistdist/dnsdist-configuration-yaml.cc @@ -146,9 +146,8 @@ static uint8_t strToRCode(const std::string& context, const std::string& paramet static uint16_t strToQType(const std::string& context, const std::string& parameterName, const ::rust::String& qtype_rust_string) { auto qtype_str = std::string(qtype_rust_string); - boost::to_lower(qtype_str); QType qtype; - qtype = std::string(qtype_str); + qtype = qtype_str; if (qtype.getCode() == 0) { return checkedConversionFromStr(context, parameterName, qtype_rust_string); }