ikev2: Trigger ike_reestablish_pre|post events for make-before-break reauth
Listeners can't track those IKE_SAs otherwise. For break-before-make reauthentications, these events are already triggered because that is implemented by calling reestablish() on the old IKE_SA.
This commit is contained in:
@@ -182,6 +182,9 @@ struct listener_t {
|
||||
* peer_cfg (and the old hosts), but before resolving the hosts anew.
|
||||
* It is not invoked on the responder.
|
||||
*
|
||||
* If this is called during a reauthentication, COND_REAUTHENTICATING is
|
||||
* set on the old IKE_SA and the hosts are not resolved anew.
|
||||
*
|
||||
* @param old IKE_SA getting reestablished (is destroyed)
|
||||
* @param new new IKE_SA replacing old (gets established)
|
||||
* @return TRUE to stay registered, FALSE to unregister
|
||||
|
||||
Reference in New Issue
Block a user