aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/stroke/stroke_config.c
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2010-07-12 11:14:54 +0200
committerTobias Brunner <tobias@strongswan.org>2010-09-02 19:01:25 +0200
commitf6659688abef15c7ac8f03f6e7f25e0bc75cbdd4 (patch)
treee8fc1bce17db99a8249a1175452d4b46be20cb50 /src/libcharon/plugins/stroke/stroke_config.c
parent6f449d2efdacaf5bfdc88f2c20130451e0c53d70 (diff)
downloadstrongswan-f6659688abef15c7ac8f03f6e7f25e0bc75cbdd4.tar.bz2
strongswan-f6659688abef15c7ac8f03f6e7f25e0bc75cbdd4.tar.xz
Refer to kernel interface via hydra and not charon.
Diffstat (limited to 'src/libcharon/plugins/stroke/stroke_config.c')
-rw-r--r--src/libcharon/plugins/stroke/stroke_config.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_config.c b/src/libcharon/plugins/stroke/stroke_config.c
index 86b958b0d..165212a5e 100644
--- a/src/libcharon/plugins/stroke/stroke_config.c
+++ b/src/libcharon/plugins/stroke/stroke_config.c
@@ -15,6 +15,7 @@
#include "stroke_config.h"
+#include <hydra.h>
#include <daemon.h>
#include <threading/mutex.h>
#include <utils/lexparser.h>
@@ -199,8 +200,8 @@ static ike_cfg_t *build_ike_cfg(private_stroke_config_t *this, stroke_msg_t *msg
host = host_create_from_dns(msg->add_conn.other.address, 0, 0);
if (host)
{
- interface = charon->kernel_interface->get_interface(
- charon->kernel_interface, host);
+ interface = hydra->kernel_interface->get_interface(
+ hydra->kernel_interface, host);
host->destroy(host);
if (interface)
{
@@ -215,8 +216,8 @@ static ike_cfg_t *build_ike_cfg(private_stroke_config_t *this, stroke_msg_t *msg
host = host_create_from_dns(msg->add_conn.me.address, 0, 0);
if (host)
{
- interface = charon->kernel_interface->get_interface(
- charon->kernel_interface, host);
+ interface = hydra->kernel_interface->get_interface(
+ hydra->kernel_interface, host);
host->destroy(host);
if (!interface)
{