diff options
author | Tobias Brunner <tobias@strongswan.org> | 2011-10-05 15:04:24 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2011-10-05 15:04:24 +0200 |
commit | 4437914ae033f286d728666d63e95e00536adf15 (patch) | |
tree | d855504c613dc225266ee4ac6c5e11eecb3955e9 /src/libcharon/plugins/android/android_plugin.c | |
parent | 6c974a4fe345215c03c9bd6c908312e48afe46d4 (diff) | |
download | strongswan-4437914ae033f286d728666d63e95e00536adf15.tar.bz2 strongswan-4437914ae033f286d728666d63e95e00536adf15.tar.xz |
Correctly install DNS servers on Android if frontend is not used.
Diffstat (limited to 'src/libcharon/plugins/android/android_plugin.c')
-rw-r--r-- | src/libcharon/plugins/android/android_plugin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/plugins/android/android_plugin.c b/src/libcharon/plugins/android/android_plugin.c index d5101f475..b23c94384 100644 --- a/src/libcharon/plugins/android/android_plugin.c +++ b/src/libcharon/plugins/android/android_plugin.c @@ -92,7 +92,6 @@ plugin_t *android_plugin_create() }, }, .logger = android_logger_create(), - .handler = android_handler_create(), .creds = android_creds_create(), ); @@ -101,6 +100,7 @@ plugin_t *android_plugin_create() 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; } |