]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Better message when outgoing DoH is not available 13381/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 24 Oct 2023 07:11:17 +0000 (09:11 +0200)
committerGitHub <noreply@github.com>
Tue, 24 Oct 2023 07:11:17 +0000 (09:11 +0200)
Co-authored-by: Otto Moerbeek <otto.moerbeek@open-xchange.com>
pdns/dnsdist-lua.cc

index e324d759a6e5c504a97fcdd287c4716c5c275e12..78da52ec9a644976cb4b4a54019cf003caa16c0a 100644 (file)
@@ -545,7 +545,7 @@ static void setupLuaConfig(LuaContext& luaCtx, bool client, bool configCheck)
 
                            if (getOptionalValue<std::string>(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;