diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-10-11 15:44:24 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-10-11 16:30:20 +0200 |
commit | ddce93206e21210b76ec96238960cd159dfb1584 (patch) | |
tree | f4e0e928f76266c0c842e1f25e81df3ff78fea13 /src/libcharon/plugins/android/android_plugin.c | |
parent | f7ce74983ddf3536976526866595a8de5002790d (diff) | |
download | strongswan-ddce93206e21210b76ec96238960cd159dfb1584.tar.bz2 strongswan-ddce93206e21210b76ec96238960cd159dfb1584.tar.xz |
Fixed initialization of android plugin.
Diffstat (limited to 'src/libcharon/plugins/android/android_plugin.c')
-rw-r--r-- | src/libcharon/plugins/android/android_plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcharon/plugins/android/android_plugin.c b/src/libcharon/plugins/android/android_plugin.c index b23c94384..091f34a8e 100644 --- a/src/libcharon/plugins/android/android_plugin.c +++ b/src/libcharon/plugins/android/android_plugin.c @@ -95,13 +95,13 @@ plugin_t *android_plugin_create() .creds = android_creds_create(), ); + this->service = android_service_create(this->creds); + this->handler = android_handler_create(this->service != NULL); + charon->bus->add_listener(charon->bus, &this->logger->listener); lib->credmgr->add_set(lib->credmgr, &this->creds->set); hydra->attributes->add_handler(hydra->attributes, &this->handler->handler); - this->service = android_service_create(this->creds); - this->handler = android_handler_create(this->service != NULL); - return &this->public.plugin; } |