summaryrefslogtreecommitdiff
path: root/src/libcharon/plugins/dnscert/dnscert_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/plugins/dnscert/dnscert_plugin.c')
-rw-r--r--src/libcharon/plugins/dnscert/dnscert_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/dnscert/dnscert_plugin.c b/src/libcharon/plugins/dnscert/dnscert_plugin.c
index 713bc9e3b..1b93480cf 100644
--- a/src/libcharon/plugins/dnscert/dnscert_plugin.c
+++ b/src/libcharon/plugins/dnscert/dnscert_plugin.c
@@ -74,7 +74,7 @@ METHOD(plugin_t, reload, bool,
private_dnscert_plugin_t *this)
{
bool enabled = lib->settings->get_bool(lib->settings,
- "%s.plugins.dnscert.enable", FALSE, charon->name);
+ "%s.plugins.dnscert.enable", FALSE, lib->ns);
if (enabled != this->enabled)
{