]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Log pre-handshake packet drops using D_MULTI_DROPPED
authorSteffan Karger <steffan@karger.me>
Sun, 11 Feb 2018 10:19:29 +0000 (11:19 +0100)
committerGert Doering <gert@greenie.muc.de>
Tue, 20 Feb 2018 09:01:17 +0000 (10:01 +0100)
We have a debug level packets dropped by the TLS layer - use that for this
packet drop too.  This changes this message from 'verb 3' to 'verb 4'
(which should result in less user reports about this almost always
harmless warning).

Signed-off-by: Steffan Karger <steffan@karger.me>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20180211101929.4535-1-steffan@karger.me>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg16477.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ssl.c

index 676d0b90914ecf0f1169f2e26443a3352d96e646..d758c31a2c38cf9ee73757f446d1fa7b8fad4c41 100644 (file)
@@ -3361,7 +3361,7 @@ tls_pre_decrypt(struct tls_multi *multi,
                 {
                     if (!ks->crypto_options.key_ctx_bi.initialized)
                     {
-                        msg(D_TLS_DEBUG_LOW,
+                        msg(D_MULTI_DROPPED,
                             "Key %s [%d] not initialized (yet), dropping packet.",
                             print_link_socket_actual(from, &gc), key_id);
                         goto error_lite;