trap-manager: Reset IKE_SA on bus_t if initiating fails
This commit is contained in:
1 parent
bb492d80b5
commit
c61ca66a39
1 file changed
+1
@@ -373,6 +373,7 @@ METHOD(trap_manager_t, acquire, void,
|
||||
else
|
||||
{
|
||||
ike_sa->destroy(ike_sa);
|
||||
charon->bus->set_sa(charon->bus, NULL);
|
||||
}
|
||||
}
|
||||
peer->destroy(peer);
|
||||
|
||||
Reference in new issue
Block a user