diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/charon/sa/ike_sa.c | 2 |
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) { |