mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-08 00:02:03 -04:00
set IKE_SA on bus to catch unroute event properly
This commit is contained in:
parent
ebe01cae0f
commit
e868a564d9
@ -491,6 +491,7 @@ static status_t unroute_execute(interface_job_t *job)
|
|||||||
interface_listener_t *listener = &job->listener;
|
interface_listener_t *listener = &job->listener;
|
||||||
ike_sa_t *ike_sa = listener->ike_sa;
|
ike_sa_t *ike_sa = listener->ike_sa;
|
||||||
|
|
||||||
|
charon->bus->set_sa(charon->bus, ike_sa);
|
||||||
if (ike_sa->unroute(ike_sa, listener->id) != DESTROY_ME)
|
if (ike_sa->unroute(ike_sa, listener->id) != DESTROY_ME)
|
||||||
{
|
{
|
||||||
charon->ike_sa_manager->checkin(charon->ike_sa_manager, ike_sa);
|
charon->ike_sa_manager->checkin(charon->ike_sa_manager, ike_sa);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user