diff options
author | Reto Buerki <reet@codelabs.ch> | 2014-11-17 15:15:19 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2015-02-20 13:34:51 +0100 |
commit | 84e391e08e1bc8dcb0060d87f6e99caa91987fd2 (patch) | |
tree | fccbfaae625006e78cd6e0f1668f3b45a118dec1 /src | |
parent | f81a9497483a7282c11adf5705d9ea3e83f6fffd (diff) | |
download | strongswan-84e391e08e1bc8dcb0060d87f6e99caa91987fd2.tar.bz2 strongswan-84e391e08e1bc8dcb0060d87f6e99caa91987fd2.tar.xz |
charon-tkm: Fix compilation of ees_callback.c
Update the call to hydra->kernel_interface->expire to make
ees_callback.c compile again. The required destination host argument is
set to NULL for now.
Diffstat (limited to 'src')
-rw-r--r-- | src/charon-tkm/src/ees/ees_callbacks.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/charon-tkm/src/ees/ees_callbacks.c b/src/charon-tkm/src/ees/ees_callbacks.c index 2d9653837..8650947f8 100644 --- a/src/charon-tkm/src/ees/ees_callbacks.c +++ b/src/charon-tkm/src/ees/ees_callbacks.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 Reto Buerki + * Copyright (C) 2012-2014 Reto Buerki * Copyright (C) 2012 Adrian-Ken Rueegsegger * Hochschule fuer Technik Rapperswil * @@ -33,8 +33,10 @@ void charon_esa_expire(result_type *res, const sp_id_type sp_id, const esp_spi_type spi_rem, const protocol_type protocol, const expiry_flag_type hard) { + host_t *dst = NULL; + DBG1(DBG_KNL, "ees: expire received for reqid {%d}", sp_id); - hydra->kernel_interface->expire(hydra->kernel_interface, sp_id, protocol, - spi_rem, hard != 0); + hydra->kernel_interface->expire(hydra->kernel_interface, protocol, + spi_rem, dst, hard != 0); *res = TKM_OK; } |