aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2008-11-05 05:32:43 +0000
committerAndreas Steffen <andreas.steffen@strongswan.org>2008-11-05 05:32:43 +0000
commit746115a0bebb64f9529b42c8adf2a8ac8b92cc1f (patch)
treecb5a4d089130e6c5e029af07b7dd6fa95b146db8
parentf41a4a4e1574efab970d9645cdf678b6c8533ce3 (diff)
downloadstrongswan-746115a0bebb64f9529b42c8adf2a8ac8b92cc1f.tar.bz2
strongswan-746115a0bebb64f9529b42c8adf2a8ac8b92cc1f.tar.xz
%any is IP family neutral
-rw-r--r--src/charon/sa/ike_sa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charon/sa/ike_sa.c b/src/charon/sa/ike_sa.c
index d07867c5f..5b359bbfa 100644
--- a/src/charon/sa/ike_sa.c
+++ b/src/charon/sa/ike_sa.c
@@ -2333,8 +2333,8 @@ ike_sa_t * ike_sa_create(ike_sa_id_t *ike_sa_id)
/* initialize private fields */
this->ike_sa_id = ike_sa_id->clone(ike_sa_id);
this->child_sas = linked_list_create();
- this->my_host = host_create_from_string("0.0.0.0", IKEV2_UDP_PORT);
- this->other_host = host_create_from_string("0.0.0.0", IKEV2_UDP_PORT);
+ this->my_host = host_create_from_string("%any", IKEV2_UDP_PORT);
+ this->other_host = host_create_from_string("%any", IKEV2_UDP_PORT);
this->my_id = identification_create_from_encoding(ID_ANY, chunk_empty);
this->other_id = identification_create_from_encoding(ID_ANY, chunk_empty);
this->eap_identity = NULL;