%any is IP family neutral
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 5 Nov 2008 05:32:43 +0000 (05:32 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 5 Nov 2008 05:32:43 +0000 (05:32 -0000)
src/charon/sa/ike_sa.c

index d07867c..5b359bb 100644 (file)
@@ -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;