From 6e3fb0f2187594aa34ae6b4ecda5f60b5efbd137 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Tue, 5 Mar 2024 09:22:36 +0100 Subject: [PATCH] Fix typo --data-cipher-fallback Change-Id: I38e70cb74c10848ab2981efc4c4c8863c5c8785d Signed-off-by: Frank Lichtenheld Acked-by: Arne Schwabe Message-Id: <20240305082236.17566-1-gert@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28321.html Signed-off-by: Gert Doering (cherry picked from commit f6608b56e480fea94e2b286c619aa2aa854e15f6) --- doc/man-sections/generic-options.rst | 2 +- src/openvpn/dco.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/man-sections/generic-options.rst b/doc/man-sections/generic-options.rst index 95e4ca233..30c990d6e 100644 --- a/doc/man-sections/generic-options.rst +++ b/doc/man-sections/generic-options.rst @@ -75,7 +75,7 @@ which mode OpenVPN is configured as. to the configuration if no other compression options are present. - 2.4.x or lower: The cipher in ``--cipher`` is appended to ``--data-ciphers``. - - 2.3.x or lower: ``--data-cipher-fallback`` is automatically added with + - 2.3.x or lower: ``--data-ciphers-fallback`` is automatically added with the same cipher as ``--cipher``. - 2.3.6 or lower: ``--tls-version-min 1.0`` is added to the configuration when ``--tls-version-min`` is not explicitly set. diff --git a/src/openvpn/dco.c b/src/openvpn/dco.c index cd3e0ad34..14430d334 100644 --- a/src/openvpn/dco.c +++ b/src/openvpn/dco.c @@ -400,7 +400,7 @@ dco_check_option(int msglevel, const struct options *o) if (o->enable_ncp_fallback && !tls_item_in_cipher_list(o->ciphername, dco_get_supported_ciphers())) { - msg(msglevel, "Note: --data-cipher-fallback with cipher '%s' " + msg(msglevel, "Note: --data-ciphers-fallback with cipher '%s' " "disables data channel offload.", o->ciphername); return false; } -- 2.47.3