From 8e61ffb97dd5532352801fd06cfd31df93e0147a Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Tue, 24 Oct 2023 09:11:17 +0200 Subject: [PATCH] dnsdist: Better message when outgoing DoH is not available Co-authored-by: Otto Moerbeek --- pdns/dnsdist-lua.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2