summaryrefslogtreecommitdiffstats
path: root/openvpn.c
diff options
context:
space:
mode:
Diffstat (limited to 'openvpn.c')
-rw-r--r--openvpn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openvpn.c b/openvpn.c
index 41150de..eff610a 100644
--- a/openvpn.c
+++ b/openvpn.c
@@ -149,7 +149,8 @@ main (int argc, char *argv[])
#ifdef ENABLE_PLUGIN
/* plugins may contribute options configuration */
init_verb_mute (&c, IVM_LEVEL_1);
- open_plugins (&c, true);
+ init_plugins (&c);
+ open_plugins (&c, true, OPENVPN_PLUGIN_INIT_PRE_CONFIG_PARSE);
#endif
/* init verbosity and mute levels */