Skip to contentSkip to conversation

doc: add "ovpn-dco" to usage and man page

PATCH In review Lev Stipakov 2 participants 2 messages Sep 17, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 doc: add "ovpn-dco" to usage and man page

From: Lev Stipakov <[email protected]...>

While on it, remove redundant sentence
and quotation mark from --windows-driver man
description.

---

v2:
- mark ovpn-dco adapter as default, instead
of tap-windows6

- mention that ovpn-dco requires --dev tun

 doc/man-sections/windows-options.rst | 6 +++---
 src/openvpn/options.c                | 3 ++-
 2 files changed, 5 insertions(+), 4 deletions(-)
doc/man-sections/windows-options.rst +3 -3
index c389fbc4..368f7b19 100644
@@ -238,7 +238,7 @@ Windows-Specific Options
   logged when this is found in the configuration file.
 
 --windows-driver drv
-  Specifies which tun driver to use. Values are :code:`tap-windows6`
-  (default) and :code:`wintun`.  This is a Windows-only option.
-  :code:`wintun`" requires ``--dev tun`` and the OpenVPN process to run
+  Specifies which tun driver to use. Values are :code:`ovpn-dco` (default),
+  :code:`tap-windows6` and :code:`wintun`. :code:`ovpn-dco` and :code:`wintun`
+  require ``--dev tun``. :code:`wintun` also requires OpenVPN process to run
   elevated, or be invoked using the Interactive Service.
src/openvpn/options.c +2 -1
index d7954ebc..45fbb634 100644
@@ -749,7 +749,8 @@ static const char usage_message[] =
     "--show-net-up   : Show " PACKAGE_NAME "'s view of routing table and net adapter list\n"
     "                  after TAP adapter is up and routes have been added.\n"
     "--windows-driver   : Which tun driver to use?\n"
-    "                     tap-windows6 (default)\n"
+    "                     ovpn-dco (default)\n"
+    "                     tap-windows6\n"
     "                     wintun\n"
     "--block-outside-dns   : Block DNS on other network adapters to prevent DNS leaks\n"
     "Windows Standalone Options:\n"
Signature · 1 line
2.23.0.windows.1
Acked-by on v2 1/1
#1 lore raw

[Openvpn-devel] [PATCH applied] Re: doc: add ovpn-dco to usage and man page

"That was an easy one", after the plugin/script auth related stuff :-)

Your patch has been applied to the master branch.

commit 7de4be94e297ab1ea87ab17934f2026d7124239c

Author: Lev Stipakov
Date:   Sat Sep 17 19:34:25 2022 +0300
     doc: add ovpn-dco to usage and man page

     Signed-off-by: Lev Stipakov <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg25240.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering