]> git.ipfire.org Git - thirdparty/openvpn.git/commit
Log peer-id if loglevel is D_DCO_DEBUG and dco is enabled
authorArne Schwabe <arne@rfc2549.org>
Tue, 10 Jan 2023 15:19:01 +0000 (16:19 +0100)
committerGert Doering <gert@greenie.muc.de>
Tue, 10 Jan 2023 15:49:03 +0000 (16:49 +0100)
commitd04c2110a006c204b5753113cdbed2866b9641ed
tree4f5e9a94cb54933dfe890a0b379945656439e44f
parent9bc2dfea0e1f643b2a02b61455e1845ae83f7518
Log peer-id if loglevel is D_DCO_DEBUG and dco is enabled

This enables logging the peer id in p2mp mode if dco is enabled
and the log level is high enough

Patch v2: use check_debug_level to check current log level

Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20230110151901.998479-1-arne@rfc2549.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25946.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
(cherry picked from commit 533c170fb60882547152e3b3222c8f7788d6b80f)
src/openvpn/multi.c