mirror of
https://github.com/strongswan/strongswan.git
synced 2025-12-08 00:00:29 -05:00
ikev2: Migrate MOBIKE additional peer addresses to new SA after IKE_SA rekeying
This commit is contained in:
parent
80a1ebb1d9
commit
b8ecdfd895
@ -2260,6 +2260,12 @@ METHOD(ike_sa_t, inherit_post, void,
|
|||||||
array_insert_create(&this->other_vips, ARRAY_TAIL, vip);
|
array_insert_create(&this->other_vips, ARRAY_TAIL, vip);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* MOBIKE additional addresses */
|
||||||
|
while (array_remove(other->peer_addresses, ARRAY_HEAD, &vip))
|
||||||
|
{
|
||||||
|
array_insert_create(&this->peer_addresses, ARRAY_TAIL, vip);
|
||||||
|
}
|
||||||
|
|
||||||
/* authentication information */
|
/* authentication information */
|
||||||
enumerator = array_create_enumerator(other->my_auths);
|
enumerator = array_create_enumerator(other->my_auths);
|
||||||
while (enumerator->enumerate(enumerator, &cfg))
|
while (enumerator->enumerate(enumerator, &cfg))
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user