aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReto Buerki <reet@codelabs.ch>2014-11-17 15:15:19 +0100
committerMartin Willi <martin@revosec.ch>2015-02-20 13:34:51 +0100
commit84e391e08e1bc8dcb0060d87f6e99caa91987fd2 (patch)
treefccbfaae625006e78cd6e0f1668f3b45a118dec1
parentf81a9497483a7282c11adf5705d9ea3e83f6fffd (diff)
downloadstrongswan-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.
-rw-r--r--src/charon-tkm/src/ees/ees_callbacks.c8
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;
}