aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteffan Karger2018-02-11 11:19:29 +0100
committerGert Doering2018-02-20 10:01:17 +0100
commitc215c58f2393e881e16f9805549316a1e257a682 (patch)
treeb8ca1c268da374bf36f023e7fa375ce94818cae1
parent849006bf17bba524e6f3344598adcbe41bedf450 (diff)
downloadopenvpn-c215c58f2393e881e16f9805549316a1e257a682.zip
openvpn-c215c58f2393e881e16f9805549316a1e257a682.tar.gz
Log pre-handshake packet drops using D_MULTI_DROPPED
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>
-rw-r--r--src/openvpn/ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openvpn/ssl.c b/src/openvpn/ssl.c
index 676d0b9..d758c31 100644
--- a/src/openvpn/ssl.c
+++ b/src/openvpn/ssl.c
@@ -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;