]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
Repeat the unknown command in errors from management interface
authorArne Schwabe <arne@rfc2549.org>
Mon, 6 May 2024 14:23:03 +0000 (16:23 +0200)
committerGert Doering <gert@greenie.muc.de>
Mon, 6 May 2024 15:35:36 +0000 (17:35 +0200)
This help pinpointing errors in logs from my app

Change-Id: Ie2b62bc95371daf7e1eb58e0323835f169399910
Signed-off-by: Arne Schwabe <arne@rfc2549.org>
Acked-by: Frank Lichtenheld <frank@lichtenheld.com>
Message-Id: <20240506142303.13198-1-gert@greenie.muc.de>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg28621.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/manage.c

index 89591eae1a754950fd3bfa3c602528473911098a..24f3121629db6ec7084aa8631ea44f3e845550b4 100644 (file)
@@ -1663,7 +1663,7 @@ man_dispatch_command(struct management *man, struct status_output *so, const cha
 #endif
     else
     {
-        msg(M_CLIENT, "ERROR: unknown command, enter 'help' for more options");
+        msg(M_CLIENT, "ERROR: unknown command [%s], enter 'help' for more options", p[0]);
     }
 
 done: