]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: Fix the type of DoQ frontends
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 27 Sep 2023 23:21:47 +0000 (01:21 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 9 Oct 2023 11:38:06 +0000 (13:38 +0200)
pdns/dnsdist.hh

index f9455f2d11e6260fe5ecfa23a4ce0f14da58ad48..5d8cb3e1d3f60791aebe1788c3fffaeff5073ed1 100644 (file)
@@ -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)";
       }