aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/resolve
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2014-11-04 14:45:34 +0100
committerMartin Willi <martin@revosec.ch>2015-02-20 13:34:55 +0100
commit751363275f893f9d212c6bcce3cb984334830cb1 (patch)
tree386c7898cba34d448ce2f3bdc33f8c300e3e6631 /src/libcharon/plugins/resolve
parent1f29cd2c5db06c32e79c3105e85899398f8d17f5 (diff)
downloadstrongswan-751363275f893f9d212c6bcce3cb984334830cb1.tar.bz2
strongswan-751363275f893f9d212c6bcce3cb984334830cb1.tar.xz
attributes: Move the configuration attributes framework to libcharon
Diffstat (limited to 'src/libcharon/plugins/resolve')
-rw-r--r--src/libcharon/plugins/resolve/resolve_plugin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/libcharon/plugins/resolve/resolve_plugin.c b/src/libcharon/plugins/resolve/resolve_plugin.c
index 00c025f13..193c5b602 100644
--- a/src/libcharon/plugins/resolve/resolve_plugin.c
+++ b/src/libcharon/plugins/resolve/resolve_plugin.c
@@ -16,7 +16,7 @@
#include "resolve_plugin.h"
#include "resolve_handler.h"
-#include <hydra.h>
+#include <daemon.h>
typedef struct private_resolve_plugin_t private_resolve_plugin_t;
@@ -50,13 +50,13 @@ static bool plugin_cb(private_resolve_plugin_t *this,
{
if (reg)
{
- hydra->attributes->add_handler(hydra->attributes,
- &this->handler->handler);
+ charon->attributes->add_handler(charon->attributes,
+ &this->handler->handler);
}
else
{
- hydra->attributes->remove_handler(hydra->attributes,
- &this->handler->handler);
+ charon->attributes->remove_handler(charon->attributes,
+ &this->handler->handler);
}
return TRUE;
}