aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/ha/ha_plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/plugins/ha/ha_plugin.c')
-rw-r--r--src/charon/plugins/ha/ha_plugin.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/charon/plugins/ha/ha_plugin.c b/src/charon/plugins/ha/ha_plugin.c
index 65101f868..fb780cab2 100644
--- a/src/charon/plugins/ha/ha_plugin.c
+++ b/src/charon/plugins/ha/ha_plugin.c
@@ -103,7 +103,7 @@ static void destroy(private_ha_plugin_t *this)
plugin_t *plugin_create()
{
private_ha_plugin_t *this;
- char *local, *remote, *secret, *virtuals;
+ char *local, *remote, *secret;
u_int count;
bool fifo;
@@ -111,8 +111,6 @@ plugin_t *plugin_create()
"charon.plugins.ha.local", NULL);
remote = lib->settings->get_str(lib->settings,
"charon.plugins.ha.remote", NULL);
- virtuals = lib->settings->get_str(lib->settings,
- "charon.plugins.ha.virtuals", "");
secret = lib->settings->get_str(lib->settings,
"charon.plugins.ha.secret", NULL);
fifo = lib->settings->get_bool(lib->settings,
@@ -137,7 +135,7 @@ plugin_t *plugin_create()
free(this);
return NULL;
}
- this->kernel = ha_kernel_create(count, virtuals);
+ this->kernel = ha_kernel_create(count);
if (!this->kernel)
{
this->socket->destroy(this->socket);