From: "cron2 (Code Review)"
Date: Sun, 16 Nov 2025 12:11:32 +0000
In-Reply-To:
References:
Reply-To: gert@...1296..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, lstipakov@...277...
Message-ID: <6144b3e658fed0919c0959db999d2c3757a8df4a-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="W6W7stkbnmY="; charset=UTF-8
Subject: [Openvpn-devel] [L] Change in openvpn[master]: tapctl: refactor
'create' command
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
To: stipa
Cc: plaisthos , openvpn-devel
--W6W7stkbnmY=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: plaisthos, stipa.
cron2 has posted comments on this change by stipa. ( http://gerrit.openvpn.=
net/c/openvpn/+/1374?usp=3Demail )
Change subject: tapctl: refactor 'create' command
......................................................................
Patch Set 2: Code-Review+2
(3 comments)
Patchset:
PS2:
some room for improvement left, but moving on
File src/tapctl/main.c:
http://gerrit.openvpn.net/c/openvpn/+/1374/comment/341b165d_9f6f6845?usp=3D=
email :
PS2, Line 221: }
this code is a bit silly - two `free(value)` and `break`, where the second =
one would nicely cover what is in the `if()` above. But it's not going to =
break anything, we can fix this later.
http://gerrit.openvpn.net/c/openvpn/+/1374/comment/327981bf_81d31cdf?usp=3D=
email :
PS2, Line 362: }
I did not manage to trigger this one - `tapctl create --hwid dings` will fa=
il earlier on (`DiInstallDevice failed`), so I guess I need a valid hwid ye=
t unknown to tapctl to trigger this. But the code is ok.
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/1374?usp=3Demail
To unsubscribe, or for help writing mail filters, visit http://gerrit.openv=
pn.net/settings?usp=3Demail
Gerrit-MessageType: comment
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I270f679505c90ef78a5afbad1e05219f166be089
Gerrit-Change-Number: 1374
Gerrit-PatchSet: 2
Gerrit-Owner: stipa
Gerrit-Reviewer: cron2
Gerrit-Reviewer: plaisthos
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: stipa
Gerrit-Comment-Date: Sun, 16 Nov 2025 12:11:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
--W6W7stkbnmY=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is cur=
rently required from: plaisthos, stipa.
this code is a b=
it silly - two `free(value)` and `break`, where the second one would nicely=
cover what is in the `if()` above. But it's not going to break anythi=
ng, we can fix this later.
<=
p class=3D"blocks" style=3D"white-space: pre-wrap; word-wrap: break-word;">=
I did not manage to trigger this one - `tapctl create --hwid dings` will fa=
il earlier on (`DiInstallDevice failed`), so I guess I need a valid hwid ye=
t unknown to tapctl to trigger this. But the code is ok.
To view, visit change 1374. To unsubscribe, or for help writing mail f=
ilters, visit se=
ttings.
<=
div itemscope itemprop=3D"action" itemtype=3D"http://schema.org/ViewAction"=
>