From: "plaisthos (Code Review)" Date: Mon, 6 May 2024 13:50:31 +0000 References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="0V9oKKfUcCw="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: Repeat the unknown command in errors from management interface List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: openvpn-devel --0V9oKKfUcCw= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/584?usp=3Demail to review the following change. Change subject: Repeat the unknown command in errors from management interf= ace ...................................................................... Repeat the unknown command in errors from management interface This help pinpointing errors in logs from my app Change-Id: Ie2b62bc95371daf7e1eb58e0323835f169399910 Signed-off-by: Arne Schwabe --- M src/openvpn/manage.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/84/584/1 diff --git a/src/openvpn/manage.c b/src/openvpn/manage.c index 43c5507..415ee7a 100644 --- a/src/openvpn/manage.c +++ b/src/openvpn/manage.c @@ -1663,7 +1663,7 @@ #endif else { - msg(M_CLIENT, "ERROR: unknown command, enter 'help' for more optio= ns"); + msg(M_CLIENT, "ERROR: unknown command [%s], enter 'help' for more = options", p[0]); } done: -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/584?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ie2b62bc95371daf7e1eb58e0323835f169399910 Gerrit-Change-Number: 584 Gerrit-PatchSet: 1 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: flichtenheld Gerrit-MessageType: newchange --0V9oKKfUcCw= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld.

plaisthos would like flichtenheld to review this change.

Vi= ew Change

Repeat the unknown command in errors from management interfac=
e

This help pinpointing errors in logs from my app

Change-Id:= Ie2b62bc95371daf7e1eb58e0323835f169399910
Signed-off-by: Arne Schwabe &= lt;arne@...1227...>
---
M src/openvpn/manage.c
1 file changed, = 1 insertion(+), 1 deletion(-)

git pull ssh://gerrit.openvpn.net:2=
9418/openvpn refs/changes/84/584/1
diff --git a/src/openvpn/manage.=
c b/src/openvpn/manage.c
index 43c5507..415ee7a 100644
--- a/src/openvpn/manage.c
+++ b/src/openvpn/ma= nage.c
@@ -1663,7 +1663,7 @@
#endif=
else
{
- msg(M_CLIENT, "ERROR: unknown command, en= ter 'help' for more options");
+ msg(M_CLIENT, "ERROR: unknown command = [%s], enter 'help' for more options", p[0]);
= }

done:

<= /pre>

To view, visit change 584. To unsubscribe, or for help writing mail filt= ers, visit settings.

=
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ie2b62bc95371daf7e1eb58e0323= 835f169399910
Gerrit-Change-Number: 584
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-MessageType: newchange
--0V9oKKfUcCw=--