aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/android_dns/android_dns_plugin.c
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/android_dns/android_dns_plugin.c
parent1f29cd2c5db06c32e79c3105e85899398f8d17f5 (diff)
downloadstrongswan-751363275f893f9d212c6bcce3cb984334830cb1.tar.bz2
strongswan-751363275f893f9d212c6bcce3cb984334830cb1.tar.xz
attributes: Move the configuration attributes framework to libcharon
Diffstat (limited to 'src/libcharon/plugins/android_dns/android_dns_plugin.c')
-rw-r--r--src/libcharon/plugins/android_dns/android_dns_plugin.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/libcharon/plugins/android_dns/android_dns_plugin.c b/src/libcharon/plugins/android_dns/android_dns_plugin.c
index b8eb11b57..9b6ec0dba 100644
--- a/src/libcharon/plugins/android_dns/android_dns_plugin.c
+++ b/src/libcharon/plugins/android_dns/android_dns_plugin.c
@@ -16,7 +16,6 @@
#include "android_dns_plugin.h"
#include "android_dns_handler.h"
-#include <hydra.h>
#include <daemon.h>
typedef struct private_android_dns_plugin_t private_android_dns_plugin_t;
@@ -51,13 +50,13 @@ static bool plugin_cb(private_android_dns_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;
}