Browse code

Fix client-pending-auth help message in management interface

- Add the missing timeout value that is required (not optional)
- Split the long line
- Also make the AUTH_PENDING state message format in
management-notes.txt more precise.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
Acked-by:
Message-Id: <20210814044834.2236-1-selva.nair@gmail.com>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg22739.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>

Selva Nair authored on 2021/08/14 13:48:34
Showing 2 changed files
... ...
@@ -658,7 +658,7 @@ implementations the name IV_SSO is kept in lieu of a better name.
658 658
 The management interface of the client receives notification of
659 659
 pending auth via
660 660
 
661
->STATE:datetime,AUTH_PENDING,[timeout number]
661
+>STATE:datetime,AUTH_PENDING,[timeout number],,,,,
662 662
 
663 663
 If {EXTRA} is present the client is informed using INFOMSG
664 664
 notification as
... ...
@@ -104,8 +104,8 @@ man_help(void)
104 104
     msg(M_CLIENT, "client-auth-nt CID KID : Authenticate client-id/key-id CID/KID");
105 105
     msg(M_CLIENT, "client-deny CID KID R [CR] : Deny auth client-id/key-id CID/KID with log reason");
106 106
     msg(M_CLIENT, "                             text R and optional client reason text CR");
107
-    msg(M_CLIENT, "client-pending-auth CID MSG : Instruct OpenVPN to send AUTH_PENDING and INFO_PRE msg"
108
-        "                          to the client and wait for a final client-auth/client-deny");
107
+    msg(M_CLIENT, "client-pending-auth CID MSG timeout : Instruct OpenVPN to send AUTH_PENDING and INFO_PRE msg");
108
+    msg(M_CLIENT, "                                      to the client and wait for a final client-auth/client-deny");
109 109
     msg(M_CLIENT, "client-kill CID [M]    : Kill client instance CID with message M (def=RESTART)");
110 110
     msg(M_CLIENT, "env-filter [level]     : Set env-var filter level");
111 111
 #ifdef MANAGEMENT_PF