From e9bb49ba2ff372fad9ca1d1ab9fbdf9761cf2a40 Mon Sep 17 00:00:00 2001 From: David Sommerseth Date: Mon, 8 May 2017 16:19:39 +0200 Subject: [PATCH] plugin: Fix documentation typo for type_mask 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 Acked-by: Selva Nair 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 (cherry picked from commit 26e3427cfa128c5d8ac7e212769ba29afac4f3d9) --- include/openvpn-plugin.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/openvpn-plugin.h.in b/include/openvpn-plugin.h.in index 0b303520a..d43a29a92 100644 --- a/include/openvpn-plugin.h.in +++ b/include/openvpn-plugin.h.in @@ -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 -- 2.47.2