controller: Consider any IKE_SA destruction as success when terminating
This commit is contained in:
@@ -294,10 +294,7 @@ METHOD(listener_t, ike_state_change_terminate, bool,
|
|||||||
switch (state)
|
switch (state)
|
||||||
{
|
{
|
||||||
case IKE_DESTROYING:
|
case IKE_DESTROYING:
|
||||||
if (ike_sa->get_state(ike_sa) == IKE_DELETING)
|
this->status = SUCCESS;
|
||||||
{ /* proper termination */
|
|
||||||
this->status = SUCCESS;
|
|
||||||
}
|
|
||||||
return listener_done(this);
|
return listener_done(this);
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user