aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/resolver/resolver_manager.c
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2013-02-15 15:12:29 +0100
committerTobias Brunner <tobias@strongswan.org>2013-02-19 12:25:00 +0100
commitf2145c8d3acbac8f6e351b9d4571c72f12bb0915 (patch)
treed6eaa2ddf8090eed16f1d0285913b7fe3ae906dc /src/libstrongswan/resolver/resolver_manager.c
parent95650c0836beac729b159259c83c03750d3e6a62 (diff)
downloadstrongswan-f2145c8d3acbac8f6e351b9d4571c72f12bb0915.tar.bz2
strongswan-f2145c8d3acbac8f6e351b9d4571c72f12bb0915.tar.xz
Moved configuration from resolver manager to unbound plugin
Also streamlined log messages in unbound plugin.
Diffstat (limited to 'src/libstrongswan/resolver/resolver_manager.c')
-rw-r--r--src/libstrongswan/resolver/resolver_manager.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/src/libstrongswan/resolver/resolver_manager.c b/src/libstrongswan/resolver/resolver_manager.c
index 6486909f6..8effe469a 100644
--- a/src/libstrongswan/resolver/resolver_manager.c
+++ b/src/libstrongswan/resolver/resolver_manager.c
@@ -56,20 +56,7 @@ METHOD(resolver_manager_t, remove_resolver, void,
METHOD(resolver_manager_t, create, resolver_t*,
private_resolver_manager_t *this)
{
- char *resolv_conf;
- char *trust_anchor_file;
-
- resolv_conf = lib->settings->get_str(lib->settings,
- "libstrongswan.plugins.resolver."
- "resolv_conf",
- "/etc/resolv.conf");
-
- trust_anchor_file = lib->settings->get_str(lib->settings,
- "libstrongswan.plugins.resolver."
- "trust_anchor",
- "/etc/trust.anchors");
-
- return this->constructor(resolv_conf, trust_anchor_file);
+ return this->constructor();
}
METHOD(resolver_manager_t, destroy, void,