]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
plugin: Fix documentation typo for type_mask
authorDavid Sommerseth <davids@openvpn.net>
Mon, 8 May 2017 14:19:39 +0000 (16:19 +0200)
committerDavid Sommerseth <davids@openvpn.net>
Tue, 9 May 2017 10:16:15 +0000 (12:16 +0200)
The v3 plug-in API was slightly misleading, as that interface does not
need to use an int pointer to setting the type_mask from the plug-in.

Signed-off-by: David Sommerseth <davids@openvpn.net>
Acked-by: Selva Nair <selva.nair@gmail.com>
Message-Id: <20170508141939.31224-1-davids@openvpn.net>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg14576.html
Signed-off-by: David Sommerseth <davids@openvpn.net>
include/openvpn-plugin.h.in

index 0b303520a305448003541afae306e0221aaa4410..d43a29a923e24dd405dcfe61d7d32188b2d9bdfa 100644 (file)
@@ -328,12 +328,12 @@ struct openvpn_plugin_args_open_in
  *
  * STRUCT MEMBERS
  *
- * *type_mask : The plug-in should set this value to the logical OR of all script
+ * type_mask  : The plug-in should set this value to the logical OR of all script
  *              types which the plug-in wants to intercept.  For example, if the
  *              script wants to intercept the client-connect and client-disconnect
  *              script types:
  *
- *              *type_mask = OPENVPN_PLUGIN_MASK(OPENVPN_PLUGIN_CLIENT_CONNECT)
+ *              type_mask = OPENVPN_PLUGIN_MASK(OPENVPN_PLUGIN_CLIENT_CONNECT)
  *                         | OPENVPN_PLUGIN_MASK(OPENVPN_PLUGIN_CLIENT_DISCONNECT)
  *
  * *handle :    Pointer to a global plug-in context, created by the plug-in.  This pointer