From: Lev Stipakov <l...@openvpn.net>

Make tapctl aware of ovpn-dco.

Signed-off-by: Lev Stipakov <l...@openvpn.net>
---
 src/tapctl/main.c | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/src/tapctl/main.c b/src/tapctl/main.c
index d5bc7290..3350bf1f 100644
--- a/src/tapctl/main.c
+++ b/src/tapctl/main.c
@@ -81,9 +81,9 @@ static const TCHAR usage_message_create[] =
     TEXT("               specified, a default adapter name is chosen by 
Windows.         \n")
     TEXT("               Note: This name can also be specified as OpenVPN's 
--dev-node   \n")
     TEXT("               option.                                               
          \n")
-    TEXT("--hwid <hwid>  Adapter hardware ID. Default value is root\\tap0901, 
which       \n")
-    TEXT("               describes tap-windows6 driver. To work with wintun 
driver,      \n")
-    TEXT("               specify 'wintun'.                                     
          \n")
+    TEXT("--hwid <hwid>  Adapter hardware ID. Default value is root\\tap0901, 
which      \n")
+    TEXT("               describes tap-windows6 driver. To work with wintun or 
ovpn-dco  \n")
+    TEXT("               driver, specify 'wintun' or 'ovpn-dco'.               
          \n")
     TEXT("\n")
     TEXT("Output:\n")
     TEXT("\n")
@@ -101,8 +101,8 @@ static const TCHAR usage_message_list[] =
     TEXT("\n")
     TEXT("Options:\n")
     TEXT("\n")
-    TEXT("--hwid <hwid>  Adapter hardware ID. By default, root\\tap0901, 
tap0901 and      \n")
-    TEXT("               wintun adapters are listed. Use this switch to limit 
the list.  \n")
+    TEXT("--hwid <hwid>  Adapter hardware ID. By default, root\\tap0901, 
tap0901, wintun and \n")
+    TEXT("               ovpn-dco adapters are listed. Use this switch to 
limit the list.\n")
     TEXT("\n")
     TEXT("Output:\n")
     TEXT("\n")
@@ -275,7 +275,8 @@ create_delete_adapter:
         TCHAR szzHwId[0x100] =
             TEXT("root\\") TEXT(TAP_WIN_COMPONENT_ID) TEXT("\0")
             TEXT(TAP_WIN_COMPONENT_ID) TEXT("\0")
-            TEXT("Wintun\0");
+            TEXT("Wintun\0")
+            TEXT("ovpn-dco\0");
 
         /* Parse options. */
         for (int i = 2; i < argc; i++)
-- 
2.17.1



_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to