diff options
author | Tobias Brunner <tobias@strongswan.org> | 2010-07-19 18:38:29 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2010-09-02 19:04:19 +0200 |
commit | bd7a2f3bfc4093ed10097d167bf5f1221bf5bb61 (patch) | |
tree | b1c03a5ad7f024d4db0da924d90ddcb5f978158f /src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c | |
parent | 6a066ad19b60cb137b353feb96241a90241b4dbc (diff) | |
download | strongswan-bd7a2f3bfc4093ed10097d167bf5f1221bf5bb61.tar.bz2 strongswan-bd7a2f3bfc4093ed10097d167bf5f1221bf5bb61.tar.xz |
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.
Diffstat (limited to 'src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c')
-rw-r--r-- | src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c b/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c index 5cd06eb2f..20d1b1205 100644 --- a/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c +++ b/src/libhydra/plugins/kernel_pfkey/kernel_pfkey_ipsec.c @@ -1593,7 +1593,7 @@ METHOD(kernel_ipsec_t, del_sa, status_t, METHOD(kernel_ipsec_t, add_policy, status_t, private_kernel_pfkey_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) { |