]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Fix typo --data-cipher-fallback
authorFrank Lichtenheld <frank@lichtenheld.com>
Tue, 5 Mar 2024 08:22:36 +0000 (09:22 +0100)
committerGert Doering <gert@greenie.muc.de>
Tue, 5 Mar 2024 20:57:36 +0000 (21:57 +0100)
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>
(cherry picked from commit f6608b56e480fea94e2b286c619aa2aa854e15f6)

doc/man-sections/generic-options.rst
src/openvpn/dco.c

index 95e4ca233bdf48c2a46cf97cfe2e5658d7d96030..30c990d6e37a0551e08377b251f5f61aab8df576 100644 (file)
@@ -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.
index cd3e0ad340dec92057f47e2a0ec6f35918528312..14430d334678518c18ee399c253b5ac5f6a2f943 100644 (file)
@@ -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;
     }