controller: Use the CHILD_SA unique_id to terminate CHILD_SAs
This commit is contained in:
@@ -118,7 +118,7 @@ struct controller_t {
|
||||
* If a callback is provided the function is synchronous and thus blocks
|
||||
* until the CHILD_SA is properly deleted, or the call timed out.
|
||||
*
|
||||
* @param reqid reqid of the CHILD_SA to terminate
|
||||
* @param unique_id CHILD_SA unique ID to terminate
|
||||
* @param cb logging callback
|
||||
* @param param parameter to include in each call of cb
|
||||
* @param timeout timeout in ms to wait for callbacks, 0 to disable
|
||||
@@ -128,7 +128,7 @@ struct controller_t {
|
||||
* - NEED_MORE, if callback returned FALSE
|
||||
* - OUT_OF_RES if timed out
|
||||
*/
|
||||
status_t (*terminate_child)(controller_t *this, u_int32_t reqid,
|
||||
status_t (*terminate_child)(controller_t *this, u_int32_t unique_id,
|
||||
controller_cb_t callback, void *param,
|
||||
u_int timeout);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user