]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
dnsdist: sort features in --version output
authorChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Tue, 3 Apr 2018 08:37:00 +0000 (10:37 +0200)
committerChris Hofstaedtler <chris.hofstaedtler@deduktiva.com>
Tue, 3 Apr 2018 09:00:45 +0000 (11:00 +0200)
pdns/dnsdist.cc

index 0cf94293a0bacf93d67ee86c28e993b1a76b3add..60d3e24f4a031dabec5a01eb3d1144e74b0f79f8 100644 (file)
@@ -2147,7 +2147,10 @@ try
 #ifdef HAVE_DNS_OVER_TLS
       cout<<"dns-over-tls(";
 #ifdef HAVE_GNUTLS
-      cout<<"gnutls ";
+      cout<<"gnutls";
+  #ifdef HAVE_LIBSSL
+      cout<<" ";
+  #endif
 #endif
 #ifdef HAVE_LIBSSL
       cout<<"openssl";
@@ -2160,12 +2163,12 @@ try
 #ifdef HAVE_EBPF
       cout<<"ebpf ";
 #endif
-#ifdef HAVE_LIBSODIUM
-      cout<<"libsodium ";
-#endif
 #ifdef HAVE_FSTRM
       cout<<"fstrm ";
 #endif
+#ifdef HAVE_LIBSODIUM
+      cout<<"libsodium ";
+#endif
 #ifdef HAVE_PROTOBUF
       cout<<"protobuf ";
 #endif