diff options
author | Tobias Brunner <tobias@strongswan.org> | 2017-08-14 11:14:38 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-09-25 18:40:55 +0200 |
commit | ab7d5e32d3f7fb1138f6eacec87081a886fc0c16 (patch) | |
tree | 3310051da24fb65ef587ba6e1b5da7fbba799126 /src | |
parent | e0e43229736a84db5af6cb7af9cc2ae03da4c906 (diff) | |
download | strongswan-ab7d5e32d3f7fb1138f6eacec87081a886fc0c16.tar.bz2 strongswan-ab7d5e32d3f7fb1138f6eacec87081a886fc0c16.tar.xz |
controller: Consider any IKE_SA destruction as success when terminating
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/control/controller.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libcharon/control/controller.c b/src/libcharon/control/controller.c index 8e7816b39..44a4d0aa8 100644 --- a/src/libcharon/control/controller.c +++ b/src/libcharon/control/controller.c @@ -294,10 +294,7 @@ METHOD(listener_t, ike_state_change_terminate, bool, switch (state) { case IKE_DESTROYING: - if (ike_sa->get_state(ike_sa) == IKE_DELETING) - { /* proper termination */ - this->status = SUCCESS; - } + this->status = SUCCESS; return listener_done(this); default: break; |