ikev2: Send retransmits using the latest known addresses
For instance, if a DPD exchange is initiated by the gateway when a mobile client is roaming and it then gets a new IP address and sends an address update via MOBIKE, the DPD retransmits would still be sent to the old address and the SA would eventually get closed.
This commit is contained in:
parent
b678d9e14f
commit
f1aa18b2e8
|
@ -348,7 +348,9 @@ METHOD(task_manager_t, retransmit, status_t,
|
|||
}
|
||||
if (!mobike)
|
||||
{
|
||||
send_packets(this, this->initiating.packets, NULL, NULL);
|
||||
send_packets(this, this->initiating.packets,
|
||||
this->ike_sa->get_my_host(this->ike_sa),
|
||||
this->ike_sa->get_other_host(this->ike_sa));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue