aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2007-02-28 14:17:31 +0000
committerMartin Willi <martin@strongswan.org>2007-02-28 14:17:31 +0000
commit9362e063b9f2229643ec3e2260916116425ceb88 (patch)
tree99133aad4a2c8e7bf7a0e9f25ddd0519918269b7
parentc60c7694d2d8925c5d93ff33d132f561ad89e071 (diff)
downloadstrongswan-9362e063b9f2229643ec3e2260916116425ceb88.tar.bz2
strongswan-9362e063b9f2229643ec3e2260916116425ceb88.tar.xz
fixed reauthentication when connections other is %any
-rw-r--r--src/charon/sa/ike_sa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/charon/sa/ike_sa.c b/src/charon/sa/ike_sa.c
index 91ee4be0b..aac786cd7 100644
--- a/src/charon/sa/ike_sa.c
+++ b/src/charon/sa/ike_sa.c
@@ -1470,6 +1470,8 @@ static void reestablish(private_ike_sa_t *this)
other_id->destroy(other_id);
apply_config(other, this->connection, this->policy);
+ other->other_host->destroy(other->other_host);
+ other->other_host = this->other_host->clone(this->other_host);
if (this->state == IKE_ESTABLISHED)
{