From: Remi Gacogne Date: Wed, 27 Sep 2023 23:21:47 +0000 (+0200) Subject: dnsdist: Fix the type of DoQ frontends X-Git-Tag: rec-5.0.0-alpha2~6^2~18 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0250b853a1035e3a4b318d27eb81304314c2ab90;p=thirdparty%2Fpdns.git dnsdist: Fix the type of DoQ frontends --- diff --git a/pdns/dnsdist.hh b/pdns/dnsdist.hh index f9455f2d11..5d8cb3e1d3 100644 --- a/pdns/dnsdist.hh +++ b/pdns/dnsdist.hh @@ -569,7 +569,10 @@ struct ClientState { std::string result = udpFD != -1 ? "UDP" : "TCP"; - if (dohFrontend) { + if (doqFrontend) { + result += " (DNS over QUIC)"; + } + else if (dohFrontend) { if (dohFrontend->isHTTPS()) { result += " (DNS over HTTPS)"; }