diff options
author | Adriaan de Jong <dejong@fox-it.com> | 2011-07-07 09:21:03 +0200 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2011-10-22 17:22:51 +0200 |
commit | 1876ccd012e9e2ca6f8e1cd9e7e9bb4bf24ccecb (patch) | |
tree | 4ccb3c4e2c142dce66a95fef769af1196ba734e5 /pf.c | |
parent | 557624e0a7282cf31cd3b58f8155f11f0517f254 (diff) | |
download | openvpn-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 'pf.c')
-rw-r--r-- | pf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -563,7 +563,7 @@ pf_init_context (struct context *c) if( pf_file ) { setenv_str (c->c2.es, "pf_file", pf_file); - if (plugin_call (c->plugins, OPENVPN_PLUGIN_ENABLE_PF, NULL, NULL, c->c2.es, -1, NULL) == OPENVPN_PLUGIN_FUNC_SUCCESS) + if (plugin_call (c->plugins, OPENVPN_PLUGIN_ENABLE_PF, NULL, NULL, c->c2.es) == OPENVPN_PLUGIN_FUNC_SUCCESS) { event_timeout_init (&c->c2.pf.reload, 1, now); c->c2.pf.filename = string_alloc (pf_file, NULL); |