From 9362e063b9f2229643ec3e2260916116425ceb88 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 28 Feb 2007 14:17:31 +0000 Subject: fixed reauthentication when connections other is %any --- src/charon/sa/ike_sa.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit v1.2.3