aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Lichtenheld2024-03-05 09:22:36 +0100
committerGert Doering2024-03-05 21:57:01 +0100
commitf6608b56e480fea94e2b286c619aa2aa854e15f6 (patch)
tree5ff44b4566a2ac1c071dde9ba807f126d5f42d6c
parentfad2d7017eee366317bb18b34416e7788cbe2372 (diff)
downloadopenvpn-f6608b56e480fea94e2b286c619aa2aa854e15f6.zip
openvpn-f6608b56e480fea94e2b286c619aa2aa854e15f6.tar.gz
Fix typo --data-cipher-fallback
Change-Id: I38e70cb74c10848ab2981efc4c4c8863c5c8785d Signed-off-by: Frank Lichtenheld <frank@lichtenheld.com> Acked-by: Arne Schwabe <arne-openvpn@rfc2549.org> 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 <gert@greenie.muc.de>
-rw-r--r--doc/man-sections/generic-options.rst2
-rw-r--r--src/openvpn/dco.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/man-sections/generic-options.rst b/doc/man-sections/generic-options.rst
index 95e4ca2..30c990d 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 cd3e0ad..14430d3 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;
}