Invoke child_rekey hook instead of child_updown when rekeying a quick mode

This commit is contained in:
Martin Willi
2012-03-20 17:31:36 +01:00
parent 5b7fc76861
commit 669d8bded2
3 changed files with 36 additions and 2 deletions
@@ -43,6 +43,13 @@ struct quick_mode_t {
* @param reqid reqid to use
*/
void (*use_reqid)(quick_mode_t *this, u_int32_t reqid);
/**
* Set the SPI of the old SA, if rekeying.
*
* @param spi spi of SA to rekey
*/
void (*rekey)(quick_mode_t *this, u_int32_t spi);
};
/**