From 3909bf10a3e8e08e4ea17e81d342f70cd26e1517 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Tue, 3 Apr 2018 10:37:00 +0200 Subject: [PATCH] dnsdist: sort features in --version output --- pdns/dnsdist.cc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/pdns/dnsdist.cc b/pdns/dnsdist.cc index 0cf94293a..60d3e24f4 100644 --- a/pdns/dnsdist.cc +++ b/pdns/dnsdist.cc @@ -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 -- 2.40.0