aboutsummaryrefslogtreecommitdiffstats
path: root/src/charon/plugins/medsrv/medsrv_config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/charon/plugins/medsrv/medsrv_config.c')
-rw-r--r--src/charon/plugins/medsrv/medsrv_config.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/charon/plugins/medsrv/medsrv_config.c b/src/charon/plugins/medsrv/medsrv_config.c
index 8439c207b..04cb56930 100644
--- a/src/charon/plugins/medsrv/medsrv_config.c
+++ b/src/charon/plugins/medsrv/medsrv_config.c
@@ -139,8 +139,7 @@ medsrv_config_t *medsrv_config_create(database_t *db)
this->rekey = lib->settings->get_int(lib->settings,
"medmanager.rekey", 20) * 60;
this->dpd = lib->settings->get_int(lib->settings, "medmanager.dpd", 300);
- this->ike = ike_cfg_create(FALSE, FALSE, host_create_any(AF_INET),
- host_create_any(AF_INET));
+ this->ike = ike_cfg_create(FALSE, FALSE, "0.0.0.0", "0.0.0.0");
this->ike->add_proposal(this->ike, proposal_create_default(PROTO_IKE));
return &this->public;