strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32f59c5
)
setting default port of own address to have a proper fallback if src addr lookup...
author
Martin Willi
<martin@strongswan.org>
Tue, 18 Nov 2008 10:10:36 +0000
(10:10 -0000)
committer
Martin Willi
<martin@strongswan.org>
Tue, 18 Nov 2008 10:10:36 +0000
(10:10 -0000)
src/charon/sa/ike_sa.c
patch
|
blob
|
history
diff --git
a/src/charon/sa/ike_sa.c
b/src/charon/sa/ike_sa.c
index
7c67a47
..
f6fa351
100644
(file)
--- a/
src/charon/sa/ike_sa.c
+++ b/
src/charon/sa/ike_sa.c
@@
-2365,6
+2365,7
@@
ike_sa_t * ike_sa_create(ike_sa_id_t *ike_sa_id)
this->ike_sa_id = ike_sa_id->clone(ike_sa_id);
this->child_sas = linked_list_create();
this->my_host = host_create_any(AF_INET);
+ this->my_host->set_port(this->my_host, IKEV2_UDP_PORT);
this->other_host = host_create_any(AF_INET);
this->my_id = identification_create_from_encoding(ID_ANY, chunk_empty);
this->other_id = identification_create_from_encoding(ID_ANY, chunk_empty);