kernel-interface: Raise expires with a proto/SPI/dst tuple instead of reqid
This commit is contained in:
@@ -222,10 +222,10 @@ static inline bool policy_entry_equals(policy_entry_t *a,
|
||||
/**
|
||||
* Expiration callback
|
||||
*/
|
||||
static void expire(u_int32_t reqid, u_int8_t protocol, u_int32_t spi, bool hard)
|
||||
static void expire(u_int8_t protocol, u_int32_t spi, host_t *dst, bool hard)
|
||||
{
|
||||
hydra->kernel_interface->expire(hydra->kernel_interface, reqid, protocol,
|
||||
spi, hard);
|
||||
hydra->kernel_interface->expire(hydra->kernel_interface, protocol,
|
||||
spi, dst, hard);
|
||||
}
|
||||
|
||||
METHOD(kernel_ipsec_t, get_features, kernel_feature_t,
|
||||
|
||||
Reference in New Issue
Block a user