summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorAdriaan de Jong <dejong@fox-it.com>2011-07-07 09:21:03 +0200
committerDavid Sommerseth <davids@redhat.com>2011-10-22 17:22:51 +0200
commit1876ccd012e9e2ca6f8e1cd9e7e9bb4bf24ccecb (patch)
tree4ccb3c4e2c142dce66a95fef769af1196ba734e5 /init.c
parent557624e0a7282cf31cd3b58f8155f11f0517f254 (diff)
downloadopenvpn-1876ccd012e9e2ca6f8e1cd9e7e9bb4bf24ccecb.tar.gz
openvpn-1876ccd012e9e2ca6f8e1cd9e7e9bb4bf24ccecb.tar.xz
openvpn-1876ccd012e9e2ca6f8e1cd9e7e9bb4bf24ccecb.zip
Fixes for the plugin system:
- Removed the dependency on an SSL library for USE_SSL when creating non-SSL plugins - Fixed example plugin code to include USE_SSL when needed Signed-off-by: Adriaan de Jong <dejong@fox-it.com> Acked-by: James Yonan <james@openvpn.net> Signed-off-by: David Sommerseth <davids@redhat.com>
Diffstat (limited to 'init.c')
-rw-r--r--init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.c b/init.c
index 6fc1a6b..82c1000 100644
--- a/init.c
+++ b/init.c
@@ -1337,7 +1337,7 @@ do_route (const struct options *options,
if (plugin_defined (plugins, OPENVPN_PLUGIN_ROUTE_UP))
{
- if (plugin_call (plugins, OPENVPN_PLUGIN_ROUTE_UP, NULL, NULL, es, -1, NULL) != OPENVPN_PLUGIN_FUNC_SUCCESS)
+ if (plugin_call (plugins, OPENVPN_PLUGIN_ROUTE_UP, NULL, NULL, es) != OPENVPN_PLUGIN_FUNC_SUCCESS)
msg (M_WARN, "WARNING: route-up plugin call failed");
}