]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
fixed reauthentication when connections other is %any
authorMartin Willi <martin@strongswan.org>
Wed, 28 Feb 2007 14:17:31 +0000 (14:17 -0000)
committerMartin Willi <martin@strongswan.org>
Wed, 28 Feb 2007 14:17:31 +0000 (14:17 -0000)
src/charon/sa/ike_sa.c

index 91ee4be0b04d565a86a23f9a28013117af5a7bf1..aac786cd705c4c08361613b6f16e4987133eeece 100644 (file)
@@ -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)
        {