ha: Destroy synced IKE_SA if no configuration is found during update
This commit is contained in:
parent
eb3e339a3c
commit
438318c6c3
|
@ -373,6 +373,9 @@ static void process_ike_update(private_ha_dispatcher_t *this,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DBG1(DBG_IKE, "HA is missing nodes peer configuration");
|
DBG1(DBG_IKE, "HA is missing nodes peer configuration");
|
||||||
|
charon->ike_sa_manager->checkin_and_destroy(
|
||||||
|
charon->ike_sa_manager, ike_sa);
|
||||||
|
ike_sa = NULL;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case HA_EXTENSIONS:
|
case HA_EXTENSIONS:
|
||||||
|
|
Loading…
Reference in New Issue