From: Remi Gacogne Date: Tue, 24 Oct 2023 07:11:17 +0000 (+0200) Subject: dnsdist: Better message when outgoing DoH is not available X-Git-Tag: rec-5.0.0-beta1~27^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F13381%2Fhead;p=thirdparty%2Fpdns.git dnsdist: Better message when outgoing DoH is not available Co-authored-by: Otto Moerbeek --- diff --git a/pdns/dnsdist-lua.cc b/pdns/dnsdist-lua.cc index e324d759a6..78da52ec9a 100644 --- a/pdns/dnsdist-lua.cc +++ b/pdns/dnsdist-lua.cc @@ -545,7 +545,7 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck) if (getOptionalValue(vars, "dohPath", valueStr) > 0) { #if !defined(HAVE_DNS_OVER_HTTPS) || !defined(HAVE_NGHTTP2) - throw std::runtime_error("Outgoing DNS over HTTPS support requested (via 'dohPath' on newServer()) but nghttp2 support is not available"); + throw std::runtime_error("Outgoing DNS over HTTPS support requested (via 'dohPath' on newServer()) but it is not available"); #endif serverPort = 443;