aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/sa/ikev1/tasks/quick_delete.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-01-02 15:40:31 +0100
committerMartin Willi <martin@revosec.ch>2012-03-20 17:31:31 +0100
commit3a925f74ab3cc43bafa409b89feaa32caeb33364 (patch)
tree22dbb61589d391aa028ff6137c274841c6672561 /src/libcharon/sa/ikev1/tasks/quick_delete.h
parent07202a2bf1b4caf3ceabe016128c890ec27ccb91 (diff)
downloadstrongswan-3a925f74ab3cc43bafa409b89feaa32caeb33364.tar.bz2
strongswan-3a925f74ab3cc43bafa409b89feaa32caeb33364.tar.xz
Do not query CHILD_SA during delete if they already expired
Diffstat (limited to 'src/libcharon/sa/ikev1/tasks/quick_delete.h')
-rw-r--r--src/libcharon/sa/ikev1/tasks/quick_delete.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libcharon/sa/ikev1/tasks/quick_delete.h b/src/libcharon/sa/ikev1/tasks/quick_delete.h
index 1cdf07c48..864262392 100644
--- a/src/libcharon/sa/ikev1/tasks/quick_delete.h
+++ b/src/libcharon/sa/ikev1/tasks/quick_delete.h
@@ -46,9 +46,10 @@ struct quick_delete_t {
* @param protocol protocol of CHILD_SA to delete, PROTO_NONE as responder
* @param spi inbound SPI of CHILD_SA to delete
* @param force send delete even if SA does not exist
+ * @param expired TRUE if SA already expired
* @return quick_delete task to handle by the task_manager
*/
quick_delete_t *quick_delete_create(ike_sa_t *ike_sa, protocol_id_t protocol,
- u_int32_t spi, bool force);
+ u_int32_t spi, bool force, bool expired);
#endif /** QUICK_DELETE_H_ @}*/