Skip to contentSkip to conversation

Change in openvpn[master]: tapctl: use better wording for adapters

Openvpn-devel In review stipa (Code Review) 2 participants 6 messages Nov 12, 2025 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): gerrit.1762949155000.I4104d7e34fbc7232b677e937fc598128a8b7b3bc@...2715...

#1 lore raw

Attention is currently required from: plaisthos.

Hello plaisthos,

I'd like you to do a code review.
Please visit

    http://gerrit.openvpn.net/c/openvpn/+/1371?usp=email

to review the following change.

Change subject: tapctl: use better wording for adapters
......................................................................

tapctl: use better wording for adapters

"TUN/TAP" is a bit confusing, so use more generic "VPN network adapter" wording.

Change-Id I4104d7e34fbc7232b677e937fc598128a8b7b3bc

---
M src/tapctl/main.c

1 file changed, 10 insertions(+), 10 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/71/1371/1

src/tapctl/main.c +10 -10
index 3caffd8..4d25998 100644
@@ -50,9 +50,9 @@
     L"\n"
     L"Commands:\n"
     L"\n"
-    L"create     Create a new TUN/TAP adapter\n"
-    L"list       List TUN/TAP adapters\n"
-    L"delete     Delete specified network adapter\n"
+    L"create     Create a new VPN network adapter\n"
+    L"list       List VPN network adapters\n"
+    L"delete     Delete specified VPN network adapter\n"
     L"help       Display this text\n"
     L"\n"
     L"Hint: Use \"tapctl help <command>\" to display help for particular command.\n"
@@ -61,7 +61,7 @@
 static const WCHAR usage_message_create[] =
     L"%ls\n"
     L"\n"
-    L"Creates a new TUN/TAP adapter\n"
+    L"Creates a new VPN network adapter\n"
     L"\n"
     L"Usage:\n"
     L"\n"
@@ -69,8 +69,8 @@
     L"\n"
     L"Options:\n"
     L"\n"
-    L"--name <name>  Set TUN/TAP adapter name. Should the adapter with given name    \n"
-    L"               already exist, an error is returned. If this option is not      \n"
+    L"--name <name>  Set VPN network adapter name. Should the adapter with given     \n"
+    L"               name already exist, an error is returned. If this option is not \n"
     L"               specified, a default adapter name is chosen by Windows.         \n"
     L"               Note: This name can also be specified as OpenVPN's --dev-node   \n"
     L"               option.                                                         \n"
@@ -80,13 +80,13 @@
     L"\n"
     L"Output:\n"
     L"\n"
-    L"This command prints newly created TUN/TAP adapter's GUID to stdout.            \n"
+    L"This command prints newly created VPN network adapter's GUID to stdout.        \n"
 ;
 
 static const WCHAR usage_message_list[] =
     L"%ls\n"
     L"\n"
-    L"Lists TUN/TAP adapters\n"
+    L"Lists VPN network adapters\n"
     L"\n"
     L"Usage:\n"
     L"\n"
@@ -99,13 +99,13 @@
     L"\n"
     L"Output:\n"
     L"\n"
-    L"This command prints all TUN/TAP adapters to stdout.                            \n"
+    L"This command prints all VPN network adapters to stdout.                        \n"
 ;
 
 static const WCHAR usage_message_delete[] =
     L"%ls\n"
     L"\n"
-    L"Deletes the specified network adapter\n"
+    L"Deletes the specified VPN network adapter\n"
     L"\n"
     L"Usage:\n"
     L"\n"

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1371?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I4104d7e34fbc7232b677e937fc598128a8b7b3bc
Gerrit-Change-Number: 1371
Gerrit-PatchSet: 1
Gerrit-Owner: stipa <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>

#2 lore raw
In reply to a message not in the archive

Attention is currently required from: plaisthos, stipa.

cron2 has posted comments on this change by stipa. ( http://gerrit.openvpn.net/c/openvpn/+/1371?usp=email )

Change subject: tapctl: use better wording for adapters
......................................................................

Patch Set 1: Code-Review+2

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1371?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I4104d7e34fbc7232b677e937fc598128a8b7b3bc
Gerrit-Change-Number: 1371
Gerrit-PatchSet: 1
Gerrit-Owner: stipa <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>
Gerrit-Attention: plaisthos <[email protected]...>
Gerrit-Attention: stipa <[email protected]...>
Gerrit-Comment-Date: Wed, 12 Nov 2025 13:01:31 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes

#3 lore raw

PATCH 1/1 tapctl: use better wording for adapters

In reply to a message not in the archive

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

"TUN/TAP" is a bit confusing, so use more generic "VPN network adapter" wording.

Change-Id I4104d7e34fbc7232b677e937fc598128a8b7b3bc

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1371
---

This change was reviewed on Gerrit and approved by at least one developer. I request to merge it to master.

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1371
This mail reflects revision 1 of this Change.

Acked-by according to Gerrit (reflected above):
Gert Doering <[email protected]...>

src/tapctl/main.c +10 -10
index 3caffd8..4d25998 100644
@@ -50,9 +50,9 @@
     L"\n"
     L"Commands:\n"
     L"\n"
-    L"create     Create a new TUN/TAP adapter\n"
-    L"list       List TUN/TAP adapters\n"
-    L"delete     Delete specified network adapter\n"
+    L"create     Create a new VPN network adapter\n"
+    L"list       List VPN network adapters\n"
+    L"delete     Delete specified VPN network adapter\n"
     L"help       Display this text\n"
     L"\n"
     L"Hint: Use \"tapctl help <command>\" to display help for particular command.\n"
@@ -61,7 +61,7 @@
 static const WCHAR usage_message_create[] =
     L"%ls\n"
     L"\n"
-    L"Creates a new TUN/TAP adapter\n"
+    L"Creates a new VPN network adapter\n"
     L"\n"
     L"Usage:\n"
     L"\n"
@@ -69,8 +69,8 @@
     L"\n"
     L"Options:\n"
     L"\n"
-    L"--name <name>  Set TUN/TAP adapter name. Should the adapter with given name    \n"
-    L"               already exist, an error is returned. If this option is not      \n"
+    L"--name <name>  Set VPN network adapter name. Should the adapter with given     \n"
+    L"               name already exist, an error is returned. If this option is not \n"
     L"               specified, a default adapter name is chosen by Windows.         \n"
     L"               Note: This name can also be specified as OpenVPN's --dev-node   \n"
     L"               option.                                                         \n"
@@ -80,13 +80,13 @@
     L"\n"
     L"Output:\n"
     L"\n"
-    L"This command prints newly created TUN/TAP adapter's GUID to stdout.            \n"
+    L"This command prints newly created VPN network adapter's GUID to stdout.        \n"
 ;
 
 static const WCHAR usage_message_list[] =
     L"%ls\n"
     L"\n"
-    L"Lists TUN/TAP adapters\n"
+    L"Lists VPN network adapters\n"
     L"\n"
     L"Usage:\n"
     L"\n"
@@ -99,13 +99,13 @@
     L"\n"
     L"Output:\n"
     L"\n"
-    L"This command prints all TUN/TAP adapters to stdout.                            \n"
+    L"This command prints all VPN network adapters to stdout.                        \n"
 ;
 
 static const WCHAR usage_message_delete[] =
     L"%ls\n"
     L"\n"
-    L"Deletes the specified network adapter\n"
+    L"Deletes the specified VPN network adapter\n"
     L"\n"
     L"Usage:\n"
     L"\n"
#4 lore raw

[Openvpn-devel] [PATCH applied] Re: tapctl: use better wording for adapters

This one is trivial enough, so I dared to merge without actual testing ("it compiles, and the rest is just textual changes").

Your patch has been applied to the master branch.

commit 2fe6fd1dd7dd0667724b550b08bce2ac9e5210d3

Author: Lev Stipakov
Date:   Wed Nov 12 14:01:43 2025 +0100
     tapctl: use better wording for adapters

     Signed-off-by: Lev Stipakov <[email protected]...>
     Acked-by: Gert Doering <[email protected]...>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1371
     Message-Id: <[email protected]...>
     URL: https://www.mail-archive.com/[email protected]/msg34364.html
     Signed-off-by: Gert Doering <[email protected]...>

--
kind regards,

Gert Doering

#5 lore raw
In reply to a message not in the archive

cron2 has uploaded a new patch set (#2) to the change originally created by stipa. ( http://gerrit.openvpn.net/c/openvpn/+/1371?usp=email )

The following approvals got outdated and were removed:
Code-Review+2 by cron2

Change subject: tapctl: use better wording for adapters
......................................................................

tapctl: use better wording for adapters

"TUN/TAP" is a bit confusing, so use more generic "VPN network adapter" wording.

Change-Id I4104d7e34fbc7232b677e937fc598128a8b7b3bc

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1371
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg34364.html

---
M src/tapctl/main.c

1 file changed, 10 insertions(+), 10 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/71/1371/2

src/tapctl/main.c +10 -10
index 031e262..84da161 100644
@@ -50,9 +50,9 @@
     L"\n"
     L"Commands:\n"
     L"\n"
-    L"create     Create a new TUN/TAP adapter\n"
-    L"list       List TUN/TAP adapters\n"
-    L"delete     Delete specified network adapter\n"
+    L"create     Create a new VPN network adapter\n"
+    L"list       List VPN network adapters\n"
+    L"delete     Delete specified VPN network adapter\n"
     L"help       Display this text\n"
     L"\n"
     L"Hint: Use \"tapctl help <command>\" to display help for particular command.\n"
@@ -61,7 +61,7 @@
 static const WCHAR usage_message_create[] =
     L"%ls\n"
     L"\n"
-    L"Creates a new TUN/TAP adapter\n"
+    L"Creates a new VPN network adapter\n"
     L"\n"
     L"Usage:\n"
     L"\n"
@@ -69,8 +69,8 @@
     L"\n"
     L"Options:\n"
     L"\n"
-    L"--name <name>  Set TUN/TAP adapter name. Should the adapter with given name    \n"
-    L"               already exist, an error is returned. If this option is not      \n"
+    L"--name <name>  Set VPN network adapter name. Should the adapter with given     \n"
+    L"               name already exist, an error is returned. If this option is not \n"
     L"               specified, a default adapter name is chosen by Windows.         \n"
     L"               Note: This name can also be specified as OpenVPN's --dev-node   \n"
     L"               option.                                                         \n"
@@ -80,13 +80,13 @@
     L"\n"
     L"Output:\n"
     L"\n"
-    L"This command prints newly created TUN/TAP adapter's GUID to stdout.            \n"
+    L"This command prints newly created VPN network adapter's GUID to stdout.        \n"
 ;
 
 static const WCHAR usage_message_list[] =
     L"%ls\n"
     L"\n"
-    L"Lists TUN/TAP adapters\n"
+    L"Lists VPN network adapters\n"
     L"\n"
     L"Usage:\n"
     L"\n"
@@ -99,13 +99,13 @@
     L"\n"
     L"Output:\n"
     L"\n"
-    L"This command prints all TUN/TAP adapters to stdout.                            \n"
+    L"This command prints all VPN network adapters to stdout.                        \n"
 ;
 
 static const WCHAR usage_message_delete[] =
     L"%ls\n"
     L"\n"
-    L"Deletes the specified network adapter\n"
+    L"Deletes the specified VPN network adapter\n"
     L"\n"
     L"Usage:\n"
     L"\n"

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1371?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: newpatchset
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I4104d7e34fbc7232b677e937fc598128a8b7b3bc
Gerrit-Change-Number: 1371
Gerrit-PatchSet: 2
Gerrit-Owner: stipa <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>

#6 lore raw
In reply to a message not in the archive

cron2 has submitted this change. ( http://gerrit.openvpn.net/c/openvpn/+/1371?usp=email )

Change subject: tapctl: use better wording for adapters
......................................................................

tapctl: use better wording for adapters

"TUN/TAP" is a bit confusing, so use more generic "VPN network adapter" wording.

Change-Id I4104d7e34fbc7232b677e937fc598128a8b7b3bc

Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1371
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg34364.html

---
M src/tapctl/main.c

1 file changed, 10 insertions(+), 10 deletions(-)
src/tapctl/main.c +10 -10
index 031e262..84da161 100644
@@ -50,9 +50,9 @@
     L"\n"
     L"Commands:\n"
     L"\n"
-    L"create     Create a new TUN/TAP adapter\n"
-    L"list       List TUN/TAP adapters\n"
-    L"delete     Delete specified network adapter\n"
+    L"create     Create a new VPN network adapter\n"
+    L"list       List VPN network adapters\n"
+    L"delete     Delete specified VPN network adapter\n"
     L"help       Display this text\n"
     L"\n"
     L"Hint: Use \"tapctl help <command>\" to display help for particular command.\n"
@@ -61,7 +61,7 @@
 static const WCHAR usage_message_create[] =
     L"%ls\n"
     L"\n"
-    L"Creates a new TUN/TAP adapter\n"
+    L"Creates a new VPN network adapter\n"
     L"\n"
     L"Usage:\n"
     L"\n"
@@ -69,8 +69,8 @@
     L"\n"
     L"Options:\n"
     L"\n"
-    L"--name <name>  Set TUN/TAP adapter name. Should the adapter with given name    \n"
-    L"               already exist, an error is returned. If this option is not      \n"
+    L"--name <name>  Set VPN network adapter name. Should the adapter with given     \n"
+    L"               name already exist, an error is returned. If this option is not \n"
     L"               specified, a default adapter name is chosen by Windows.         \n"
     L"               Note: This name can also be specified as OpenVPN's --dev-node   \n"
     L"               option.                                                         \n"
@@ -80,13 +80,13 @@
     L"\n"
     L"Output:\n"
     L"\n"
-    L"This command prints newly created TUN/TAP adapter's GUID to stdout.            \n"
+    L"This command prints newly created VPN network adapter's GUID to stdout.        \n"
 ;
 
 static const WCHAR usage_message_list[] =
     L"%ls\n"
     L"\n"
-    L"Lists TUN/TAP adapters\n"
+    L"Lists VPN network adapters\n"
     L"\n"
     L"Usage:\n"
     L"\n"
@@ -99,13 +99,13 @@
     L"\n"
     L"Output:\n"
     L"\n"
-    L"This command prints all TUN/TAP adapters to stdout.                            \n"
+    L"This command prints all VPN network adapters to stdout.                        \n"
 ;
 
 static const WCHAR usage_message_delete[] =
     L"%ls\n"
     L"\n"
-    L"Deletes the specified network adapter\n"
+    L"Deletes the specified VPN network adapter\n"
     L"\n"
     L"Usage:\n"
     L"\n"

--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1371?usp=email
To unsubscribe, or for help writing mail filters, visit http://gerrit.openvpn.net/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I4104d7e34fbc7232b677e937fc598128a8b7b3bc
Gerrit-Change-Number: 1371
Gerrit-PatchSet: 2
Gerrit-Owner: stipa <[email protected]...>
Gerrit-Reviewer: cron2 <[email protected]...>
Gerrit-Reviewer: plaisthos <[email protected]...>
Gerrit-CC: openvpn-devel <[email protected]>