ipseckey: Use proper daemon name for enable option
[strongswan.git] / src / libcharon / plugins / ipseckey / ipseckey_plugin.c
index 7de842d..9593cf9 100644 (file)
@@ -82,7 +82,7 @@ plugin_t *ipseckey_plugin_create()
                },
                .res = lib->resolver->create(lib->resolver),
                .enabled = lib->settings->get_bool(lib->settings,
-                                                               "charon.plugins.ipseckey.enable", FALSE),
+                                                       "%s.plugins.ipseckey.enable", FALSE, charon->name),
        );
 
        if (!this->res)