From bd7a2f3bfc4093ed10097d167bf5f1221bf5bb61 Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Mon, 19 Jul 2010 18:38:29 +0200 Subject: Added an option to specify the type of a policy to kernel_ipsec.add_policy. This will later allow us to support pluto's passthrough and drop policies in charon. --- src/libhydra/plugins/kernel_klips/kernel_klips_ipsec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libhydra/plugins/kernel_klips/kernel_klips_ipsec.c') diff --git a/src/libhydra/plugins/kernel_klips/kernel_klips_ipsec.c b/src/libhydra/plugins/kernel_klips/kernel_klips_ipsec.c index f0a9e5504..042d98936 100644 --- a/src/libhydra/plugins/kernel_klips/kernel_klips_ipsec.c +++ b/src/libhydra/plugins/kernel_klips/kernel_klips_ipsec.c @@ -1969,7 +1969,7 @@ METHOD(kernel_ipsec_t, del_sa, status_t, METHOD(kernel_ipsec_t, add_policy, status_t, private_kernel_klips_ipsec_t *this, host_t *src, host_t *dst, traffic_selector_t *src_ts, traffic_selector_t *dst_ts, - policy_dir_t direction, u_int32_t spi, u_int32_t ah_spi, + policy_dir_t direction, policy_type_t type, u_int32_t spi, u_int32_t ah_spi, u_int32_t reqid, mark_t mark, ipsec_mode_t mode, u_int16_t ipcomp, u_int16_t cpi, bool routed) { -- cgit v1.2.3