From: Selva Nair Date: Tue, 5 Jun 2018 20:06:10 +0000 (-0400) Subject: Replace M_DEBUG with D_LOW as the former is too verbose X-Git-Tag: v2.4.7~41 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=935d17062f68868fe922bbc446476b4de6fa3d45;p=thirdparty%2Fopenvpn.git Replace M_DEBUG with D_LOW as the former is too verbose M_DEBUG only indicates the type of the message and will print even at verb 0. Use D_LOW which is M_DEBUG combined with verb = 4 and a mute level. Acked-by: Gert Doering Message-Id: <1528229170-6175-1-git-send-email-selva.nair@gmail.com> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg16964.html Signed-off-by: Gert Doering (cherry picked from commit 68441882e55b8e6c3c55a4078fbfdd76c7ada6bc) --- diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c index e57b6d2aa..effbf1a80 100644 --- a/src/openvpn/ssl_openssl.c +++ b/src/openvpn/ssl_openssl.c @@ -627,7 +627,7 @@ tls_ctx_load_ecdh_params(struct tls_root_ctx *ctx, const char *curve_name EC_KEY_free(ecdh); #else /* ifndef OPENSSL_NO_EC */ - msg(M_DEBUG, "Your OpenSSL library was built without elliptic curve support." + msg(D_LOW, "Your OpenSSL library was built without elliptic curve support." " Skipping ECDH parameter loading."); #endif /* OPENSSL_NO_EC */ } diff --git a/src/openvpn/tun.c b/src/openvpn/tun.c index 0e44e9b31..00292657a 100644 --- a/src/openvpn/tun.c +++ b/src/openvpn/tun.c @@ -890,7 +890,7 @@ do_ifconfig(struct tuntap *tt, bool do_ipv6 = false; struct argv argv = argv_new(); - msg( M_DEBUG, "do_ifconfig, tt->did_ifconfig_ipv6_setup=%d", + msg( D_LOW, "do_ifconfig, tt->did_ifconfig_ipv6_setup=%d", tt->did_ifconfig_ipv6_setup ); /*