]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Replace M_DEBUG with D_LOW as the former is too verbose
authorSelva Nair <selva.nair@gmail.com>
Tue, 5 Jun 2018 20:06:10 +0000 (16:06 -0400)
committerGert Doering <gert@greenie.muc.de>
Fri, 8 Jun 2018 14:03:40 +0000 (16:03 +0200)
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 <gert@greenie.muc.de>
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 <gert@greenie.muc.de>
(cherry picked from commit 68441882e55b8e6c3c55a4078fbfdd76c7ada6bc)

src/openvpn/ssl_openssl.c
src/openvpn/tun.c

index e57b6d2aa5fdaa2dfe1124199feabba42ca4bb9e..effbf1a80c6a5dfe5fca599913cc79811d4e28ff 100644 (file)
@@ -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 */
 }
index 0e44e9b3114e37f699f0b4999c9f7cc85d2223ca..00292657a9304a9ff6a6351ec7e05fabb30d2ee4 100644 (file)
@@ -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 );
 
         /*